mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Update Game Event Hook.cpp
This commit is contained in:
@@ -255,9 +255,10 @@ BOOLEAN ExecuteStrategicEvent( STRATEGICEVENT *pEvent )
|
|||||||
break;
|
break;
|
||||||
case EVENT_ADDSOLDIER_TO_UPDATE_BOX:
|
case EVENT_ADDSOLDIER_TO_UPDATE_BOX:
|
||||||
// if the grunt is currently active, add to update box
|
// if the grunt is currently active, add to update box
|
||||||
if( Menptr[ pEvent->uiParam ].bActive )
|
SoldierID usID = pEvent->uiParam;
|
||||||
|
if( usID != NOBODY && usID->bActive )
|
||||||
{
|
{
|
||||||
AddSoldierToWaitingListQueue( &( Menptr[ pEvent->uiParam ] ) );
|
AddSoldierToWaitingListQueue( usID );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case EVENT_SET_MENU_REASON:
|
case EVENT_SET_MENU_REASON:
|
||||||
|
|||||||
Reference in New Issue
Block a user