Iteration tweak

This commit is contained in:
Jack Andersen 2016-08-14 15:21:02 -10:00
parent d219768a0b
commit 894c89c362
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ void CStateManager::InitializeState(ResId mlvlId, TAreaId aid, ResId mreaId)
break;
g_GameState->x228_25_deferPowerupInit = false;
for (int i=0 ; i<41 ; ++i)
for (int i=0 ; i<int(CPlayerState::EItemType::Max) ; ++i)
{
CPlayerState::EItemType iType = CPlayerState::EItemType(i);