mirror of
https://github.com/unknownworlds/NS.git
synced 2025-02-22 03:31:27 +00:00
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:
parent
2d33fd9437
commit
20915fa577
1 changed files with 17 additions and 14 deletions
|
@ -2354,6 +2354,8 @@ void AvHHud::DrawSelectionAndBuildEffects()
|
||||||
physent_t *thePlayer = gEngfuncs.pEventAPI->EV_GetPhysent(localPlayerIndex);
|
physent_t *thePlayer = gEngfuncs.pEventAPI->EV_GetPhysent(localPlayerIndex);
|
||||||
// gEngfuncs.Con_Printf("gEngfuncs.GetLocalPlayer()->index = %d, thePlayer->team = %d\n", gEngfuncs.GetLocalPlayer()->index, thePlayer->team);
|
// gEngfuncs.Con_Printf("gEngfuncs.GetLocalPlayer()->index = %d, thePlayer->team = %d\n", gEngfuncs.GetLocalPlayer()->index, thePlayer->team);
|
||||||
|
|
||||||
|
if (thePlayer)
|
||||||
|
{
|
||||||
physent_t* theEntity = NULL;
|
physent_t* theEntity = NULL;
|
||||||
int theNumEnts = pmove->numphysent;
|
int theNumEnts = pmove->numphysent;
|
||||||
for (int i = 0; i < theNumEnts; i++)
|
for (int i = 0; i < theNumEnts; i++)
|
||||||
|
@ -2379,6 +2381,7 @@ void AvHHud::DrawSelectionAndBuildEffects()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
gEngfuncs.pEventAPI->EV_PopPMStates();
|
gEngfuncs.pEventAPI->EV_PopPMStates();
|
||||||
// :tankefugl
|
// :tankefugl
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue