diff options
author | Thierry Crozat | 2017-10-15 12:04:17 -0700 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:34 +0000 |
commit | c290e144dba1768547a17e7b3f5af044261617bb (patch) | |
tree | 9d19037746a39746373dd55d3cb4cabd4c48b8f2 /engines | |
parent | ae65de93fa552f8a44641eff321fe4993f3bbb7a (diff) | |
download | scummvm-rg350-c290e144dba1768547a17e7b3f5af044261617bb.tar.gz scummvm-rg350-c290e144dba1768547a17e7b3f5af044261617bb.tar.bz2 scummvm-rg350-c290e144dba1768547a17e7b3f5af044261617bb.zip |
SUPERNOVA: Simplify a bit the code
Diffstat (limited to 'engines')
-rw-r--r-- | engines/supernova/rooms.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |