OpenXcom Forum
Contributions => Programming => Topic started by: Stoddard on August 28, 2016, 11:06:01 pm
-
Can someone please explain what are the
if (_game->getSavedGame()->getMonthsPassed() != -1)
checks all around the codebase mean?
-
That's a check if you are in a "New Battle" mode or in a real game.
(...I think, I don't have access to source code at the moment, will check tomorrow.)
-
That's a check if you are in a "New Battle" mode or in a real game.
that's correct, although i think in one specific circumstance it means "on commencement of a new game" (ie: setting up missions for january)
-
Ah, well, didn't expect that.
Thank you all for the answer.