Fixed warnings in MSVC.
It complained about undefined return values or using uninitialized variables.
This commit is contained in:
@@ -48,6 +48,10 @@ int cMobCensus::GetCapMultiplier(cMonster::eFamily a_MobFamily)
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
#if !defined(__clang__)
|
||||
ASSERT(!"Unknown mob family");
|
||||
return -1;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user