diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-06-01 22:51:33 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-06-01 22:56:01 -0300 |
| commit | 189d40706feea796fe9307c915f29d2158769357 (patch) | |
| tree | c9daf3b799f417ea1018960c7bde7f3fb41b05c5 /src/creature.cc | |
| parent | 9c74d168961619d754ca9f51aa86686185d3f92e (diff) | |
| download | game-189d40706feea796fe9307c915f29d2158769357.tar.gz game-189d40706feea796fe9307c915f29d2158769357.zip | |
more work on spell primitives
Diffstat (limited to 'src/creature.cc')
| -rw-r--r-- | src/creature.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/creature.cc b/src/creature.cc index 4fee0b3..65beee0 100644 --- a/src/creature.cc +++ b/src/creature.cc @@ -58,13 +58,13 @@ void TCreature::Attack(void){ // TODO(fusion): This probably belongs elsewhere but we should come back to // this when we're wrapping up creature files. -static bool IsCreaturePlayer(uint32 CreatureID){ +bool IsCreaturePlayer(uint32 CreatureID){ return CreatureID < 0x40000000; } // TODO(fusion): This probably belongs elsewhere but we should come back to // this when we're wrapping up creature files. -static void AddKillStatistics(int AttackerRace, int DefenderRace){ +void AddKillStatistics(int AttackerRace, int DefenderRace){ // NOTE(fusion): I think the race name can be "human" only for players, // which means we're probably tracking how many creatures are killed by // players with `KilledCreatures`, and how many players are killed by |
