From c290e144dba1768547a17e7b3f5af044261617bb Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Sun, 15 Oct 2017 12:04:17 -0700 Subject: SUPERNOVA: Simplify a bit the code --- engines/supernova/rooms.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/supernova/rooms.cpp b/engines/supernova/rooms.cpp index c3cd0b92f3..b6f41078a0 100644 --- a/engines/supernova/rooms.cpp +++ b/engines/supernova/rooms.cpp @@ -516,7 +516,7 @@ bool ShipCorridor::interact(Action verb, Object &obj1, Object &obj2) { bool ShipHall::interact(Action verb, Object &obj1, Object &obj2) { if ((verb == ACTION_OPEN) && (obj1._id == KITCHEN_HATCH)) { - _vm->renderMessage(_vm->getGameString(kStringShipHall1)); + _vm->renderMessage(kStringShipHall1); } else if ((verb == ACTION_USE) && Object::combine(obj1,obj2,KEYCARD2,SLEEP_SLOT)) { if (_objectState[2].hasProperty(OPENED)) { _objectState[2].disableProperty(OPENED); -- cgit v1.2.3