diff options
author | Filippos Karapetis | 2016-01-14 00:47:58 +0200 |
---|---|---|
committer | Filippos Karapetis | 2016-01-14 23:41:30 +0200 |
commit | cd2520b79591aa957fd86b8de270e70776b341c4 (patch) | |
tree | 3b6f70e4a046857446f86411d0d89a10110d5061 /engines | |
parent | 463f8894473d53e03f7556161bc14a40ada28730 (diff) | |
download | scummvm-rg350-cd2520b79591aa957fd86b8de270e70776b341c4.tar.gz scummvm-rg350-cd2520b79591aa957fd86b8de270e70776b341c4.tar.bz2 scummvm-rg350-cd2520b79591aa957fd86b8de270e70776b341c4.zip |
LAB: Get rid of setDirection()
A leftover from code restructuring
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lab/lab.h | 1 | ||||
-rw-r--r-- | engines/lab/savegame.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/engines/lab/lab.h b/engines/lab/lab.h index f171e3301f..90f5689c51 100644 --- a/engines/lab/lab.h +++ b/engines/lab/lab.h @@ -223,7 +223,6 @@ public: */ Common::String getPictName(bool useClose); uint16 getQuarters(); - void setDirection(uint16 direction) { _direction = direction; }; void setQuarters(uint16 quarters); void updateEvents(); void waitTOF(); diff --git a/engines/lab/savegame.cpp b/engines/lab/savegame.cpp index c259740e1b..1f11ba68f7 100644 --- a/engines/lab/savegame.cpp +++ b/engines/lab/savegame.cpp @@ -171,7 +171,7 @@ bool LabEngine::loadGame(int slot) { SaveGameHeader header; readSaveGameHeader(file, header); _roomNum = file->readUint16LE(); - setDirection(file->readUint16LE()); + _direction = file->readUint16LE(); setQuarters(file->readUint16LE()); // Conditions |