Freeze fix/first batch of skull actors

This commit is contained in:
aMannus
2022-07-17 23:50:48 +02:00
parent 4ccd4d5895
commit 0da14603e2
2 changed files with 29 additions and 1 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ void func_80AFB768(EnSi* this, GlobalContext* globalCtx) {
itemGiveId = sGetItemTable[getItemId - 1].itemId;
}
Item_Give(globalCtx, itemGiveId);
if (CVar_GetS32("gSkulltulaFreeze", 0) != 1) {
if (CVar_GetS32("gSkulltulaFreeze", 0) != 1 || itemGiveId != ITEM_SKULL_TOKEN) {
player->actor.freezeTimer = 20;
}
Message_StartTextbox(globalCtx, textId, NULL);