mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Bugfix: Error occured when loading savegames with Release EXE compiled in Visual Studio 2008 (fixed by birdflu)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2849 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -444,7 +444,10 @@ BOOLEAN CPostalService::LoadShipmentListFromSaveGameFile(HWFILE hFile)
|
||||
}
|
||||
|
||||
// Add shipment
|
||||
memset(&shs, 0, sizeof(ShipmentStruct));
|
||||
|
||||
// WANNE: Bugfix: Fixed CTD in VS 2008 Release EXE (by birdflu)
|
||||
//memset(&shs, 0, sizeof(ShipmentStruct));
|
||||
|
||||
shs.pDestination = &(_GetDestination(sfs.usDestinationID));
|
||||
shs.pDestinationDeliveryInfo = &(_DeliveryMethods[sfs.ubDeliveryMethodIndex].pDestinationDeliveryInfos->at(sfs.usDestinationID));
|
||||
shs.ShipmentStatus = sfs.ShipmentStatus;
|
||||
|
||||
Reference in New Issue
Block a user