From 48f61bd7bfc4f3c169475a7075d3008676ded714 Mon Sep 17 00:00:00 2001 From: Shadooow Date: Tue, 11 Jan 2022 19:59:49 +0000 Subject: [PATCH] Fixed regression when newly arriving merc in Omerta was facing north instead of east if player pressed ESC key during helidrop animation. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9241 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Merc Entering.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Tactical/Merc Entering.cpp b/Tactical/Merc Entering.cpp index 6a4258788..9da415338 100644 --- a/Tactical/Merc Entering.cpp +++ b/Tactical/Merc Entering.cpp @@ -568,6 +568,7 @@ void HandleHeliDrop( BOOLEAN fPlayer ) #else //MercPtrs[ gusHeliSeats[ cnt ] ]->ubStrategicInsertionCode = INSERTION_CODE_NORTH; MercPtrs[ gusHeliSeats[ cnt ] ]->ubStrategicInsertionCode = INSERTION_CODE_GRIDNO; + MercPtrs[gusHeliSeats[cnt]]->ubDirection = EAST; // sevenfm: if soldiers land into enemy sector, use gsGridNoSweetSpot //MercPtrs[ gusHeliSeats[ cnt ] ]->usStrategicInsertionData = gGameExternalOptions.iInitialMercArrivalLocation; MercPtrs[gusHeliSeats[cnt]]->usStrategicInsertionData = gsGridNoSweetSpot;