Simplified the code in HeroAppearance.cpp

This commit is contained in:
NovaRain
2020-02-03 11:21:43 +08:00
parent 53b407b8a5
commit 1f1c39a4bd
5 changed files with 87 additions and 88 deletions
+1 -1
View File
@@ -407,7 +407,7 @@
#define OBJ_DATA_COMBAT_STATE (0x3C) // flags: 1 - combat, 2 - target is out of range, 4 - flee
#define OBJ_DATA_CUR_ACTION_POINT (0x40)
#define OBJ_DATA_DAMAGE_LAST_TURN (0x48)
#define OBJ_DATA_WHO_HIT_ME (0x54)
#define OBJ_DATA_WHO_HIT_ME (0x54) // current target of the critter
// compute attack result data offsets
#define C_ATTACK_SOURCE (0x00)