cleanup logs, fix overrides, define LOTs in header

This commit is contained in:
Aaron Kimbre
2022-04-18 21:02:04 -05:00
parent 8fe5c00984
commit f3dd71ccb1
8 changed files with 18 additions and 22 deletions

View File

@@ -7,8 +7,8 @@
class WhFans : public CppScripts::Script
{
public:
void OnStartup(Entity* self);
void OnDie(Entity* self, Entity* killer);
void OnStartup(Entity* self) override;
void OnDie(Entity* self, Entity* killer) override;
void OnFireEventServerSide(
Entity *self,
Entity *sender,
@@ -16,7 +16,7 @@ public:
int32_t param1,
int32_t param2,
int32_t param3
);
) override;
private:
void ToggleFX(Entity* self, bool hit);
};