(Broken) Deleted Global Folder

- No more enums.h, constants.h, macro.h, etc...
- moved all structure in types.h to there respective file.
This commit is contained in:
TokyoSU 2020-05-30 15:55:23 +02:00
parent cd1d5f5482
commit b615a98c46
208 changed files with 5335 additions and 5544 deletions

View file

@ -1535,7 +1535,7 @@ void GameScriptItem::EnableItem()
{
if (Objects[NativeItem->objectNumber].intelligent)
{
if (NativeItem->status == ITEM_DEACTIVATED)
if (NativeItem->status == ITEM_DESACTIVATED)
{
NativeItem->touchBits = 0;
NativeItem->status = ITEM_ACTIVE;
@ -1570,7 +1570,7 @@ void GameScriptItem::DisableItem()
if (NativeItem->status == ITEM_ACTIVE)
{
NativeItem->touchBits = 0;
NativeItem->status = ITEM_DEACTIVATED;
NativeItem->status = ITEM_DESACTIVATED;
RemoveActiveItem(NativeItemNumber);
DisableBaddieAI(NativeItemNumber);
}
@ -1579,7 +1579,7 @@ void GameScriptItem::DisableItem()
{
NativeItem->touchBits = 0;
RemoveActiveItem(NativeItemNumber);
NativeItem->status = ITEM_DEACTIVATED;
NativeItem->status = ITEM_DESACTIVATED;
}
}
}