Skip to content

Commit

Permalink
Fixes gloval.sav from resetting back because of member variable not s…
Browse files Browse the repository at this point in the history
…et to false by default

Fixes games like tsukihime from "erasing" progress
  • Loading branch information
matthewn4444 committed Jul 4, 2020
1 parent 2e49e63 commit 3639579
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/cpp/onscripter/ScriptParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const char* ScriptParser::DEFAULT_SAVE_ITEM_NAME = NULL;

ScriptParser::ScriptParser()
{
globalon_flag = false;
debug_level = 0;
srand( time(NULL) );
rand();
Expand Down

0 comments on commit 3639579

Please sign in to comment.