mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
BUGZILLA #546: Fixed crash in InitPreBattleInterface()
- It seems the wrong 2nd parameter was passed to the method call InitPreBattleInterface(), when calling this method from from Dialogue Control.cpp (Line: 933) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4565 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -930,7 +930,7 @@ void HandleDialogue( )
|
|||||||
if( QItem->uiSpecialEventFlag & DIALOGUE_SPECIAL_EVENT_TRIGGERPREBATTLEINTERFACE )
|
if( QItem->uiSpecialEventFlag & DIALOGUE_SPECIAL_EVENT_TRIGGERPREBATTLEINTERFACE )
|
||||||
{
|
{
|
||||||
UnLockPauseState();
|
UnLockPauseState();
|
||||||
InitPreBattleInterface( (GROUP*)QItem->uiSpecialEventData, TRUE );
|
InitPreBattleInterface( (GROUP*)QItem->uiSpecialEventData, FALSE );
|
||||||
}
|
}
|
||||||
if( QItem->uiSpecialEventFlag & DIALOGUE_ADD_EVENT_FOR_SOLDIER_UPDATE_BOX )
|
if( QItem->uiSpecialEventFlag & DIALOGUE_ADD_EVENT_FOR_SOLDIER_UPDATE_BOX )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user