mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 01:46:42 +00:00
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:
parent
531aa8392e
commit
8d770af865
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user