aboutsummaryrefslogtreecommitdiff
path: root/engines/dm
diff options
context:
space:
mode:
authorEugene Sandulenko2016-09-10 20:44:30 +0200
committerEugene Sandulenko2016-09-10 20:44:30 +0200
commit7871874dab045b012d8a6f48fe1fb642eb0f68a6 (patch)
tree4fc012353fc00a1f788a72e567c47c74a53a7bf0 /engines/dm
parentd973b2314dc3ac51ed727a18f3363e04ad6db8c7 (diff)
downloadscummvm-rg350-7871874dab045b012d8a6f48fe1fb642eb0f68a6.tar.gz
scummvm-rg350-7871874dab045b012d8a6f48fe1fb642eb0f68a6.tar.bz2
scummvm-rg350-7871874dab045b012d8a6f48fe1fb642eb0f68a6.zip
DM: Another attempt for compilation fixes on older compilers
Diffstat (limited to 'engines/dm')
-rw-r--r--engines/dm/timeline.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/dm/timeline.h b/engines/dm/timeline.h
index 030d18db12..ef076be593 100644
--- a/engines/dm/timeline.h
+++ b/engines/dm/timeline.h
@@ -116,7 +116,9 @@ public:
int16 _lightPower;
uint16 _slot; // Thing
int16 _slotOrdinal;
- } _B;
+ };
+
+ B_unionTimelineEvent _B;
int16 getMapXY() { return (_B._location._mapX << 8) + _B._location._mapY; }
@@ -142,7 +144,9 @@ public:
uint16 _slot;
int16 _soundIndex;
byte _ticks;
- } _C;
+ };
+
+ C_uionTimelineEvent _C;
}; // @ EVENT
class Timeline {