From 189d40706feea796fe9307c915f29d2158769357 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sun, 1 Jun 2025 22:51:33 -0300 Subject: more work on spell primitives --- src/creature.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/creature.cc') 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 -- cgit v1.2.3