aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLe Philousophe2019-03-06 20:42:17 +0100
committerEugene Sandulenko2019-06-01 22:43:48 +0200
commit8d770af865c3ee01a230f68f3d5bf3f67c8da277 (patch)
treec89a04bac7b120ad1ebb1056a85a8721fe03b807
parent531aa8392e40458d52f22edef71abf3506ca63da (diff)
downloadscummvm-rg350-8d770af865c3ee01a230f68f3d5bf3f67c8da277.tar.gz
scummvm-rg350-8d770af865c3ee01a230f68f3d5bf3f67c8da277.tar.bz2
scummvm-rg350-8d770af865c3ee01a230f68f3d5bf3f67c8da277.zip
CRYOMNI3D: Fix compilation error with -std=c++11
Comparison of non-pointer with nullptr was from a bad copy-paste
-rw-r--r--engines/cryomni3d/versailles/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cryomni3d/versailles/engine.cpp b/engines/cryomni3d/versailles/engine.cpp
index b25efc7719..4425a03f7f 100644
--- a/engines/cryomni3d/versailles/engine.cpp
+++ b/engines/cryomni3d/versailles/engine.cpp
@@ -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;
}