mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Update Game Event Hook.cpp
This commit is contained in:
@@ -254,12 +254,14 @@ BOOLEAN ExecuteStrategicEvent( STRATEGICEVENT *pEvent )
|
||||
MercsContractIsFinished( (UINT8) pEvent->uiParam );
|
||||
break;
|
||||
case EVENT_ADDSOLDIER_TO_UPDATE_BOX:
|
||||
{
|
||||
// if the grunt is currently active, add to update box
|
||||
SoldierID usID = pEvent->uiParam;
|
||||
if( usID != NOBODY && usID->bActive )
|
||||
if ( usID != NOBODY && usID->bActive )
|
||||
{
|
||||
AddSoldierToWaitingListQueue( usID );
|
||||
}
|
||||
}
|
||||
break;
|
||||
case EVENT_SET_MENU_REASON:
|
||||
AddReasonToWaitingListQueue( (UINT8) pEvent->uiParam );
|
||||
|
||||
Reference in New Issue
Block a user