From bd5233db0fdc5aff1f6957928c41ca2fad9e1c21 Mon Sep 17 00:00:00 2001 From: Flugente Date: Fri, 17 May 2013 23:20:13 +0000 Subject: [PATCH] Fix: use xml vehicle names git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6085 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Strategic/Strategic Movement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Strategic/Strategic Movement.cpp b/Strategic/Strategic Movement.cpp index c9cd6f6b..1061c8cd 100644 --- a/Strategic/Strategic Movement.cpp +++ b/Strategic/Strategic Movement.cpp @@ -4715,7 +4715,7 @@ void ReportVehicleOutOfGas( INT32 iVehicleID, UINT8 ubSectorX, UINT8 ubSectorY ) CHAR16 str[255]; //Report that the vehicle that just arrived is out of gas. swprintf( str, gzLateLocalizedString[ 5 ], - pVehicleStrings[ pVehicleList[ iVehicleID ].ubVehicleType ], + gNewVehicle[ pVehicleList[ iVehicleID ].ubVehicleType ].NewVehicleStrings, ubSectorY + 'A' - 1, ubSectorX ); DoScreenIndependantMessageBox( str, MSG_BOX_FLAG_OK, NULL ); }