Don't use obj.changeflag() to set flags

The way I see it, that function is basically an unnecessary middleman.
This commit is contained in:
Misa
2020-04-08 23:46:41 -07:00
committed by Ethan Lee
parent abfae6b4d7
commit 2ba9a0e67b
3 changed files with 27 additions and 27 deletions

View File

@@ -1981,7 +1981,7 @@ std::vector<std::string> spacestation2class::loadlevel(int rx, int ry)
{
if (game.nocutscenes)
{
obj.changeflag(7, true);
obj.flags[7] = true;
game.teleportscript = "levelonecomplete";
}
else