Header fixes

- Fix conflict with RPU command_extra.h
- Fix undefined debug_array_str error
This commit is contained in:
phobos2077
2023-07-24 00:56:01 +02:00
parent cb1a3dd764
commit 5c3c1ca4db
3 changed files with 5 additions and 7 deletions
@@ -93,6 +93,7 @@
#define dude_elevation (elevation(dude_obj))
#define tile_behind_obj(who) (tile_num_in_direction(tile_num(who),((has_trait(TRAIT_OBJECT,who,OBJECT_CUR_ROT) + 3) % 6), 1))
#define tile_behind_obj_rng(who, rng) (tile_num_in_direction(tile_num(who),((has_trait(TRAIT_OBJECT,who,OBJECT_CUR_ROT) + 3) % 6), rng))
#define dude_cur_hits (get_critter_stat(dude_obj,STAT_current_hp))
#define dude_max_hits (get_critter_stat(dude_obj,STAT_max_hp))