mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Expanded feature: Militia Strategic Movement is turned on with ALLOW_MILITIA_STRATEGIC_COMMAND set to TRUE and allows plotting paths for the militia just like for merc squads.
GameDir >= r2204 is recommended. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7727 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1074,7 +1074,14 @@ void HandleDialogue( )
|
||||
if( QItem->uiSpecialEventFlag & DIALOGUE_SPECIAL_EVENT_TRIGGERPREBATTLEINTERFACE )
|
||||
{
|
||||
UnLockPauseState();
|
||||
|
||||
// Flugente: what hideous idiocy is this? We cast a UINT32 as GROUP*? This is likely to return garbage.
|
||||
// Why the hell not use the id instead?
|
||||
InitPreBattleInterface( (GROUP*)QItem->uiSpecialEventData, TRUE );
|
||||
|
||||
/*GROUP* pGroup = GetGroup( (UINT8)QItem->uiSpecialEventData );
|
||||
if ( pGroup )
|
||||
InitPreBattleInterface( pGroup, TRUE );*/
|
||||
}
|
||||
if( QItem->uiSpecialEventFlag & DIALOGUE_ADD_EVENT_FOR_SOLDIER_UPDATE_BOX )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user