aboutsummaryrefslogtreecommitdiff
path: root/engines/dm
diff options
context:
space:
mode:
authorStrangerke2016-09-12 22:13:16 +0200
committerStrangerke2016-09-12 22:37:48 +0200
commit668142e9055f491159d552ae0df27fa5c752f4f3 (patch)
treed4971563a9b501e062242fc85d14f3ff46c22f56 /engines/dm
parentad2231a00ad77279f196a3c5b4df99b0adc707e7 (diff)
downloadscummvm-rg350-668142e9055f491159d552ae0df27fa5c752f4f3.tar.gz
scummvm-rg350-668142e9055f491159d552ae0df27fa5c752f4f3.tar.bz2
scummvm-rg350-668142e9055f491159d552ae0df27fa5c752f4f3.zip
DM: Change the declaration of addEvent
Diffstat (limited to 'engines/dm')
-rw-r--r--engines/dm/movesens.cpp2
-rw-r--r--engines/dm/movesens.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/dm/movesens.cpp b/engines/dm/movesens.cpp
index 2ab4b4b79d..bd95c7f04b 100644
--- a/engines/dm/movesens.cpp
+++ b/engines/dm/movesens.cpp
@@ -582,7 +582,7 @@ T0266017_CheckProjectileImpacts:
return false;
}
-void MovesensMan::addEvent(byte type, byte mapX, byte mapY, Cell cell, byte effect, int32 time) {
+void MovesensMan::addEvent(byte type, byte mapX, byte mapY, Cell cell, SensorEffect effect, int32 time) {
TimelineEvent newEvent;
_vm->setMapAndTime(newEvent._mapTime, _vm->_dungeonMan->_currMapIndex, time);
newEvent._type = type;
diff --git a/engines/dm/movesens.h b/engines/dm/movesens.h
index 7c2a6bbc6b..f82ad186a3 100644
--- a/engines/dm/movesens.h
+++ b/engines/dm/movesens.h
@@ -64,7 +64,7 @@ public:
bool getMoveResult(Thing thing, int16 mapX, int16 mapY, int16 destMapX, int16 destMapY); // @ F0267_MOVE_GetMoveResult_CPSCE
bool isLevitating(Thing thing); // @ F0264_MOVE_IsLevitating
bool moveIsKilledByProjectileImpact(int16 srcMapX, int16 srcMapY, int16 destMapX, int16 destMapY, Thing thing); // @ F0266_MOVE_IsKilledByProjectileImpact
- void addEvent(byte type, byte mapX, byte mapY, Cell cell, byte effect, int32 time); // @ F0268_SENSOR_AddEvent
+ void addEvent(byte type, byte mapX, byte mapY, Cell cell, SensorEffect effect, int32 time); // @ F0268_SENSOR_AddEvent
int16 getSound(byte creatureType); // @ F0514_MOVE_GetSound
int16 getTeleporterRotatedGroupResult(Teleporter *teleporter, Thing thing, uint16 mapIndex);// @ F0262_MOVE_GetTeleporterRotatedGroupResult
Thing getTeleporterRotatedProjectileThing(Teleporter *teleporter, Thing projectileThing); // @ F0263_MOVE_GetTeleporterRotatedProjectileThing