diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-05-30 10:32:29 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-05-30 10:32:29 -0300 |
| commit | dff5e62f6ebb1b06c234b9144458788893b6ca86 (patch) | |
| tree | 828c51278c906ad9e71dac3b54b7246a0c04706d /src/creature.cc | |
| parent | f6c8c67094de3fe19f1e7871a7e78a91fb9bf3dd (diff) | |
| download | game-dff5e62f6ebb1b06c234b9144458788893b6ca86.tar.gz game-dff5e62f6ebb1b06c234b9144458788893b6ca86.zip | |
initial work on `crcombat.cc`
Diffstat (limited to 'src/creature.cc')
| -rw-r--r-- | src/creature.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/creature.cc b/src/creature.cc index 549543e..119d0e7 100644 --- a/src/creature.cc +++ b/src/creature.cc @@ -97,7 +97,7 @@ void CheckMana(TCreature *Creature, int ManaPoints, int SoulPoints, int Delay){ } // NOTE(fusion): Maintain largest exhaust? - uint32 EarliestSpellTime = Delay + ServerMilliseconds; + uint32 EarliestSpellTime = ServerMilliseconds + Delay; if(Creature->EarliestSpellTime < EarliestSpellTime){ Creature->EarliestSpellTime = EarliestSpellTime; } |
