This commit is contained in:
asasas9500 2020-12-23 11:02:50 -03:00
parent 376f1fbfdb
commit 10b99e0111
2 changed files with 2 additions and 1 deletions

View file

@ -1087,7 +1087,7 @@ void InitialiseSearchObject(short itemNumber)
{ {
item2 = &g_Level.Items[itemNumber2]; item2 = &g_Level.Items[itemNumber2];
if (item2->objectNumber == 149) /* @FIXME In TRC OBJECTS.H this is the EXPLOSION slot */ if (item2->objectNumber == ID_EXPLOSION)
{ {
if (item->pos.xPos == item2->pos.xPos && item->pos.yPos == item2->pos.yPos && item->pos.zPos == item2->pos.zPos) if (item->pos.xPos == item2->pos.xPos && item->pos.yPos == item2->pos.yPos && item->pos.zPos == item2->pos.zPos)
{ {

View file

@ -367,6 +367,7 @@ typedef enum GAME_OBJECT_ID
ID_PUSHABLE_OBJECT_CLIMBABLE9, ID_PUSHABLE_OBJECT_CLIMBABLE9,
ID_PUSHABLE_OBJECT_CLIMBABLE10, ID_PUSHABLE_OBJECT_CLIMBABLE10,
ID_TRAIN, ID_TRAIN,
ID_EXPLOSION,
/* Items */ /* Items */
ID_PUZZLE_ITEM1 = 500, ID_PUZZLE_ITEM1 = 500,