diff options
author | Joseph-Eugene Winzer | 2017-06-16 21:30:11 +0200 |
---|---|---|
committer | Thierry Crozat | 2018-01-22 23:17:48 +0000 |
commit | 0e859cd296873974536467d4d282929550575ee3 (patch) | |
tree | 95957e64aad859b335b035847127ff9a79fab51f | |
parent | 54f8df764e42d797975930358492a1a6a0f00593 (diff) | |
download | scummvm-rg350-0e859cd296873974536467d4d282929550575ee3.tar.gz scummvm-rg350-0e859cd296873974536467d4d282929550575ee3.tar.bz2 scummvm-rg350-0e859cd296873974536467d4d282929550575ee3.zip |
SUPERNOVA: Fixes getObject() to return pointer to Object
-rw-r--r-- | engines/supernova/rooms.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/rooms.h b/engines/supernova/rooms.h index bd82683c72..4e53d69c66 100644 --- a/engines/supernova/rooms.h +++ b/engines/supernova/rooms.h @@ -24,7 +24,7 @@ public: return _fileNumber; } Object *getObject(size_t index) { - return _objectState[index]; + return &_objectState[index]; } virtual ~Room() {} |