fix: subsequent helicopter animation drops in Omerta will now work correctly (if saved before arrival, restarted game and then loaded, this resulted in helicopter now showing up and merc spawned into wall which bugged the game completely)

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9047 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Shadooow
2021-05-25 08:11:50 +00:00
parent d757ef71b6
commit 1a1d1fe54d
+2 -1
View File
@@ -11,7 +11,7 @@
#include "worlddef.h"
#include "renderworld.h"
#include "Assignments.h"
#include "merc entering.h"
#include "Animation Control.h"
#include "Animation Data.h"
#include "Isometric Utils.h"
@@ -513,6 +513,7 @@ void MercArrivesCallback( UINT8 ubSoldierID )
#endif
{
gfTacticalDoHeliRun = TRUE;
SetHelicopterDroppoint(gGameExternalOptions.iInitialMercArrivalLocation);
// OK, If we are in mapscreen, get out...
if ( guiCurrentScreen == MAP_SCREEN )