mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
MERGED bugfixes from revision: 4917
- Bugfix: Bobby Ray: Shipments were not cleared when restarting a game git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4973 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -85,6 +85,9 @@
|
||||
#include "Luaglobal.h"
|
||||
#include "SaveLoadScreen.h"
|
||||
|
||||
#include "PostalService.h"
|
||||
extern CPostalService gPostalService;
|
||||
|
||||
class OBJECTTYPE;
|
||||
class SOLDIERTYPE;
|
||||
|
||||
@@ -1179,6 +1182,9 @@ void ReStartingGame()
|
||||
//Delete all the strategic events
|
||||
DeleteAllStrategicEvents();
|
||||
|
||||
// Dealtar: Read in shipping destinations and delivery methods
|
||||
gPostalService.Clear(true);
|
||||
|
||||
//This function gets called when ur in a game a click the quit to main menu button, therefore no game is in progress
|
||||
gTacticalStatus.fHasAGameBeenStarted = FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user