From b3b4b9c8de8bb88b2302835ed081a22a16efe35c Mon Sep 17 00:00:00 2001 From: D G Turner Date: Mon, 24 Sep 2018 19:09:14 +0100 Subject: LASTEXPRESS: Fix GCC Enum Comparison Mismatch Warning. This was previously comparing the Object Model to the Object Enum. This has been corrected, but should have no functional change as the underlying enum value of 1 is identical for both symbols. --- engines/lastexpress/entities/vassili.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/lastexpress/entities/vassili.cpp b/engines/lastexpress/entities/vassili.cpp index cff6ec472c..11a84f517b 100644 --- a/engines/lastexpress/entities/vassili.cpp +++ b/engines/lastexpress/entities/vassili.cpp @@ -108,7 +108,7 @@ IMPLEMENT_FUNCTION(5, Vassili, chapter1Handler) if (!Entity::updateParameterCheck(params->param3, getState()->time, 450)) break; - if (!params->param2 && getObjects()->get(kObjectCompartmentA).model == kObjectLocation1) { + if (!params->param2 && getObjects()->get(kObjectCompartmentA).model == kObjectModel1) { params->param2 = 1; getEntities()->drawSequenceLeft(kEntityVassili, "303A"); getObjects()->update(kObjectCompartmentA, kEntityPlayer, kObjectLocationNone, kCursorHandKnock, kCursorHand); -- cgit v1.2.3