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:
@@ -254,12 +254,14 @@ BOOLEAN ExecuteStrategicEvent( STRATEGICEVENT *pEvent )
|
|||||||
MercsContractIsFinished( (UINT8) pEvent->uiParam );
|
MercsContractIsFinished( (UINT8) pEvent->uiParam );
|
||||||
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
|
||||||
SoldierID usID = pEvent->uiParam;
|
SoldierID usID = pEvent->uiParam;
|
||||||
if( usID != NOBODY && usID->bActive )
|
if ( usID != NOBODY && usID->bActive )
|
||||||
{
|
{
|
||||||
AddSoldierToWaitingListQueue( usID );
|
AddSoldierToWaitingListQueue( usID );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case EVENT_SET_MENU_REASON:
|
case EVENT_SET_MENU_REASON:
|
||||||
AddReasonToWaitingListQueue( (UINT8) pEvent->uiParam );
|
AddReasonToWaitingListQueue( (UINT8) pEvent->uiParam );
|
||||||
|
|||||||
Reference in New Issue
Block a user