diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-06-25 10:09:17 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-06-25 10:09:17 -0300 |
| commit | ea319bc2fbef91e3ea062be554b215756648d1d3 (patch) | |
| tree | aa26422a754346e9881e5e0b510f78fd4cfe068c /src/magic.hh | |
| parent | 8bc2e5dc3a523af471065752a534d20d878c60b0 (diff) | |
| download | game-ea319bc2fbef91e3ea062be554b215756648d1d3.tar.gz game-ea319bc2fbef91e3ea062be554b215756648d1d3.zip | |
finish `crnonpl.cc`
Diffstat (limited to 'src/magic.hh')
| -rw-r--r-- | src/magic.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/magic.hh b/src/magic.hh index adc648f..ff14c48 100644 --- a/src/magic.hh +++ b/src/magic.hh @@ -19,6 +19,13 @@ struct TImpact{ virtual void handleCreature(TCreature *Victim); // VTABLE[1] virtual bool isAggressive(void); // VTABLE[2] + // NOTE(fusion): I don't think the original version had a destructor declared + // here but the compiler complains when calling delete (which seems to only be + // used in `TMonster::IdleStimulus`). + virtual ~TImpact(void){ + // no-op + } + // DATA // ========================================================================= //void *VTABLE; // IMPLICIT |
