aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/adl/adl_v4.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/adl/adl_v4.cpp b/engines/adl/adl_v4.cpp
index 6a74881db5..00a393facc 100644
--- a/engines/adl/adl_v4.cpp
+++ b/engines/adl/adl_v4.cpp
@@ -87,16 +87,16 @@ void AdlEngine_v4::loadRegionLocations(Common::ReadStream &stream, uint regions)
void AdlEngine_v4::loadRegionInitDataOffsets(Common::ReadStream &stream, uint regions) {
for (uint r = 0; r < regions; ++r) {
- RegionInitDataOffset init;
- init.track = stream.readByte();
- init.sector = stream.readByte();
- init.offset = stream.readByte();
- init.volume = stream.readByte();
+ RegionInitDataOffset initOfs;
+ initOfs.track = stream.readByte();
+ initOfs.sector = stream.readByte();
+ initOfs.offset = stream.readByte();
+ initOfs.volume = stream.readByte();
if (stream.eos() || stream.err())
error("Failed to read region init data offsets");
- _regionInitDataOffsets.push_back(init);
+ _regionInitDataOffsets.push_back(initOfs);
}
}