Initialize C4Game::CheckObjectEnumeration()::Check::maxNumber in ctor.

MSVC2012 build fix.
issue1247
Sven Eberhardt 2014-10-26 20:44:06 +01:00
parent a60bf33358
commit b310369b64
1 changed files with 2 additions and 1 deletions

View File

@ -3125,7 +3125,8 @@ bool C4Game::CheckObjectEnumeration()
struct Check
{
int32_t maxNumber = 0;
int32_t maxNumber;
Check() : maxNumber(0) {}
// Check valid & maximum number & duplicate numbers
bool that(C4Object* cObj)
{