diff Engine/Engine.cpp @ 2565:117c219bf913

Party, items and stuff are abstracted from savegame file representation
author a.parshin
date Wed, 20 May 2015 15:12:33 +0200
parents f9bdfe26d03d
children 30eb6dcac768 f2f2595fe308
line wrap: on
line diff
--- a/Engine/Engine.cpp	Wed May 20 00:56:07 2015 +0200
+++ b/Engine/Engine.cpp	Wed May 20 15:12:33 2015 +0200
@@ -1836,9 +1836,11 @@
             }
             else if (GetCurrentMenuID() == MENU_NEWGAME)
             {
+                pOtherOverlayList->Reset();
                 if (!CreateParty_Loop())
                     break;
 
+                strcpy(pCurrentMapName, pStartingMapName);
                 bFlashQuestBook = true;
                 pMediaPlayer->PlayFullscreenMovie(MOVIE_Emerald, true);
                 SaveNewGame();
@@ -1876,7 +1878,7 @@
             {
                 pMouse->ChangeActivation(0);
                 pParty->Reset();
-                pParty->CreateDefaultParty(1);
+                pParty->CreateDefaultParty(true);
 
                 __debugbreak();
                 /*extern void CreateDefaultBLVLevel();