From cd2520b79591aa957fd86b8de270e70776b341c4 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 14 Jan 2016 00:47:58 +0200 Subject: LAB: Get rid of setDirection() A leftover from code restructuring --- engines/lab/lab.h | 1 - engines/lab/savegame.cpp | 2 +- 2 files changed, 1 insertion(+), 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 -- cgit v1.2.3