Mantis 0001005:

o Resolved commandchair crash over black areas

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@79 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
tankefugl 2005-04-14 19:32:21 +00:00
parent 2d33fd9437
commit 20915fa577
1 changed files with 17 additions and 14 deletions

View File

@ -2354,6 +2354,8 @@ void AvHHud::DrawSelectionAndBuildEffects()
physent_t *thePlayer = gEngfuncs.pEventAPI->EV_GetPhysent(localPlayerIndex);
// gEngfuncs.Con_Printf("gEngfuncs.GetLocalPlayer()->index = %d, thePlayer->team = %d\n", gEngfuncs.GetLocalPlayer()->index, thePlayer->team);
if (thePlayer)
{
physent_t* theEntity = NULL;
int theNumEnts = pmove->numphysent;
for (int i = 0; i < theNumEnts; i++)
@ -2379,6 +2381,7 @@ void AvHHud::DrawSelectionAndBuildEffects()
}
}
}
}
gEngfuncs.pEventAPI->EV_PopPMStates();
// :tankefugl
}