1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

removed a redundant new

This commit is contained in:
Marc Zinnschlag 2013-12-10 12:31:18 +01:00
parent 1c13a9037a
commit 1fdd43bbb7

View File

@ -255,9 +255,7 @@ namespace MWWorld
mPlayIntro = 2;
// global variables
delete mGlobalVariables;
mGlobalVariables = 0;
mGlobalVariables = new Globals (mStore);
*mGlobalVariables = Globals (mStore);
// set new game mark
mGlobalVariables->setInt ("chargenstate", 1);