mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	* saving and resuming games should work!
(loading from the main menu, saving using "save [NAME]" command)
This commit is contained in:
		| @@ -1512,6 +1512,7 @@ void CGameHandler::moveStack(int stack, int dest) | ||||
| CGameHandler::CGameHandler(void) | ||||
| { | ||||
| 	gs = NULL; | ||||
| 	IObjectInterface::cb = this; | ||||
| } | ||||
|  | ||||
| CGameHandler::~CGameHandler(void) | ||||
| @@ -1520,7 +1521,6 @@ CGameHandler::~CGameHandler(void) | ||||
| } | ||||
| void CGameHandler::init(StartInfo *si, int Seed) | ||||
| { | ||||
| 	IObjectInterface::cb = this; | ||||
| 	Mapa *map = new Mapa(si->mapname); | ||||
| 	tlog0 << "Map loaded!" << std::endl; | ||||
| 	gs = new CGameState(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user