diff options
-rw-r--r-- | engines/adl/hires1.cpp | 2 | ||||
-rw-r--r-- | engines/adl/hires2.cpp | 2 | ||||
-rw-r--r-- | engines/adl/hires6.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/adl/hires1.cpp b/engines/adl/hires1.cpp index c8b9989a02..096d8ef496 100644 --- a/engines/adl/hires1.cpp +++ b/engines/adl/hires1.cpp @@ -229,7 +229,7 @@ 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(); diff --git a/engines/adl/hires2.cpp b/engines/adl/hires2.cpp index d1dd065b4c..d8e8a65e29 100644 --- a/engines/adl/hires2.cpp +++ b/engines/adl/hires2.cpp @@ -151,7 +151,7 @@ void HiRes2Engine::initGameState() { byte id; while ((id = stream->readByte()) != 0xff) { - Item item = { }; + Item item = Item(); item.id = id; item.noun = stream->readByte(); item.room = stream->readByte(); diff --git a/engines/adl/hires6.cpp b/engines/adl/hires6.cpp index 422e9a927c..c42b4165a6 100644 --- a/engines/adl/hires6.cpp +++ b/engines/adl/hires6.cpp @@ -289,7 +289,7 @@ void HiRes6Engine::initGameState() { byte id; while ((id = stream->readByte()) != 0xff) { - Item item = { }; + Item item = Item(); item.id = id; item.noun = stream->readByte(); item.room = stream->readByte(); |