CRYOMNI3D: Fix compilation error with -std=c++11

Comparison of non-pointer with nullptr was from a bad copy-paste
This commit is contained in:
Le Philousophe 2019-03-06 20:42:17 +01:00 committed by Eugene Sandulenko
parent 531aa8392e
commit 8d770af865

View File

@ -1412,7 +1412,7 @@ void CryOmni3DEngine_Versailles::handleFixedImg(const FixedImgCallback &callback
}
unsigned int CryOmni3DEngine_Versailles::getFakeTransition(unsigned int actionId) const {
for (const FakeTransitionActionPlace *ft = kFakeTransitions; ft->actionId != nullptr; ft++) {
for (const FakeTransitionActionPlace *ft = kFakeTransitions; ft->actionId != 0; ft++) {
if (ft->actionId == actionId) {
return ft->placeId;
}