aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/music.cpp1
-rw-r--r--engines/parallaction/parallaction.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/engines/parallaction/music.cpp b/engines/parallaction/music.cpp
index 8031f20432..0646ea8764 100644
--- a/engines/parallaction/music.cpp
+++ b/engines/parallaction/music.cpp
@@ -71,6 +71,7 @@ void playMusic() {
_music_command(17, 1, 0, 0); // set source segment
_music_command(7, 1, 0, 0); // set source offset and do SOMETHING
+ // FIXME: casting pointer to uint32
_music_command(2, (uint32)_musicBits, 0, 0); // play
_playing = true;
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp
index 3b5d6abd21..781461f1e4 100644
--- a/engines/parallaction/parallaction.cpp
+++ b/engines/parallaction/parallaction.cpp
@@ -594,12 +594,14 @@ Parallaction::InputData *Parallaction::translateInput() {
_hoverZone = z;
_input._event = kEvEnterZone;
+ // FIXME: casting pointer to int32
_input._data= (int32)&z->_label;
return &_input;
}
if ((_mouseButtons == kMouseLeftUp) && ((_activeItem._id != 0) || ((z->_type & 0xFFFF) == kZoneCommand))) {
+ // FIXME: casting pointer to int32
_input._data = (int32)z;
if (z->_flags & kFlagsNoWalk) {
// printf("7.1\n");