Added comment

This commit is contained in:
aMannus 2022-07-19 23:20:05 +02:00
parent 69de5ac14a
commit bfd76dc244

View File

@ -1981,6 +1981,7 @@ s32 GiveItemWithoutActor(GlobalContext* globalCtx, s32 getItemId) {
player->getItemId = getItemId; player->getItemId = getItemId;
player->interactRangeActor = &player->actor; player->interactRangeActor = &player->actor;
player->getItemDirection = player->actor.shape.rot.y; player->getItemDirection = player->actor.shape.rot.y;
// Player state 26 = Player is frozen
if (player->stateFlags1 & (PLAYER_STATE1_26)) { if (player->stateFlags1 & (PLAYER_STATE1_26)) {
player->iceTrapped = 0; player->iceTrapped = 0;
} }