aboutsummaryrefslogtreecommitdiff
path: root/engines/adl/hires1.cpp
diff options
context:
space:
mode:
authorWalter van Niftrik2016-12-23 23:47:25 +0100
committerWalter van Niftrik2016-12-23 23:47:25 +0100
commit3c07d75825bb0907987210accd9e2a7f4c00176b (patch)
tree398972d51af039fe4452748aed587584c425e54f /engines/adl/hires1.cpp
parent0dc67a0a6e37446ed63e777712d6d239b4090d11 (diff)
downloadscummvm-rg350-3c07d75825bb0907987210accd9e2a7f4c00176b.tar.gz
scummvm-rg350-3c07d75825bb0907987210accd9e2a7f4c00176b.tar.bz2
scummvm-rg350-3c07d75825bb0907987210accd9e2a7f4c00176b.zip
ADL: Fix warnings
Diffstat (limited to 'engines/adl/hires1.cpp')
-rw-r--r--engines/adl/hires1.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/adl/hires1.cpp b/engines/adl/hires1.cpp
index 8bd49c75b4..e811b747c3 100644
--- a/engines/adl/hires1.cpp
+++ b/engines/adl/hires1.cpp
@@ -318,7 +318,8 @@ void HiRes1Engine::initGameState() {
stream->seek(IDI_HR1_OFS_ITEMS);
byte id;
while ((id = stream->readByte()) != 0xff) {
- Item item = Item();
+ Item item;
+
item.id = id;
item.noun = stream->readByte();
item.room = stream->readByte();