mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
Print out warning if militia moe is aborted due to no merc on COMMAND assignment
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6944 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1446,6 +1446,8 @@ void MilitiaMovementOrder(UINT8 sector)
|
||||
// to stop the player from just setting someone in HQ to give orders and then reassigning them, we simply demand that there'll also be someone when the militia peform the travelling
|
||||
if ( !MercStaffsMilitaryHQ() )
|
||||
{
|
||||
ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, gpStrategicString[STR_MILITIAMOVEMENT_NO_STAFF_ABORT] );
|
||||
|
||||
// remove all movement flags
|
||||
StrategicMap[ sX + ( sY * MAP_WORLD_X ) ].usFlags &= ~MILITIA_MOVE_ALLDIRS;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user