mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-02 09:47:58 +03:00
Fix bomb
This commit is contained in:
parent
376f1fbfdb
commit
10b99e0111
2 changed files with 2 additions and 1 deletions
|
@ -1087,7 +1087,7 @@ void InitialiseSearchObject(short itemNumber)
|
|||
{
|
||||
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)
|
||||
{
|
||||
|
|
|
@ -367,6 +367,7 @@ typedef enum GAME_OBJECT_ID
|
|||
ID_PUSHABLE_OBJECT_CLIMBABLE9,
|
||||
ID_PUSHABLE_OBJECT_CLIMBABLE10,
|
||||
ID_TRAIN,
|
||||
ID_EXPLOSION,
|
||||
|
||||
/* Items */
|
||||
ID_PUZZLE_ITEM1 = 500,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue