if (_game->getSavedGame()->getMonthsPassed() != -1)
That's a check if you are in a "New Battle" mode or in a real game.