aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/hotspots.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lure/hotspots.cpp')
-rw-r--r--engines/lure/hotspots.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index b0b1830201..7513575bd4 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -509,7 +509,7 @@ void Hotspot::endAction() {
_voiceCtr = 0;
setActionCtr(0);
if (_hotspotId == PLAYER_ID)
- room.setCursorState((CursorState) ((int) room.cursorState() & 2));
+ room.setCursorState((CursorState) ((int)room.cursorState() & 2));
if (currentActions().top().hasSupportData()) {
CharacterScheduleEntry *rec = currentActions().top().supportData().next();
@@ -704,7 +704,7 @@ bool Hotspot::walkingStep() {
++_pathFinder.stepCtr();
} else {
warning("Hotspot %xh dir frame not found: currentFrame=%d, dir=%s",
- _hotspotId, frameNumber(), directionList[(int) _pathFinder.top().direction()]);
+ _hotspotId, frameNumber(), directionList[(int)_pathFinder.top().direction()]);
}
return false;
@@ -2781,7 +2781,7 @@ void HotspotTickHandlers::standardCharacterAnimHandler(Hotspot &h) {
assert(newEntry);
// Increment the blocked state
- h.setBlockedState((BlockedState) ((int) h.blockedState() + 1));
+ h.setBlockedState((BlockedState) ((int)h.blockedState() + 1));
if (!h.blockedFlag()) {
// Not already handling blocked, so add a new dummy action so that the new
// action set below will not replace the existing one
@@ -3095,7 +3095,7 @@ void HotspotTickHandlers::playerAnimHandler(Hotspot &h) {
h.tempDest().position.x = h.destX();
h.tempDest().position.y = h.destY();
h.tempDest().counter = 1;
- h.setBlockedState((BlockedState) ((int) h.blockedState() + 1));
+ h.setBlockedState((BlockedState) ((int)h.blockedState() + 1));
h.setRandomDest();
return;
}
@@ -4703,7 +4703,7 @@ void Support::characterChangeRoom(Hotspot &h, uint16 roomNumber,
h.tempDest().counter = 1;
Room::getReference().setCursorState(CS_BUMPED);
h.setActionCtr(0);
- h.setBlockedState((BlockedState) ((int) h.blockedState() + 1));
+ h.setBlockedState((BlockedState) ((int)h.blockedState() + 1));
h.setDestHotspot(0);
h.setRandomDest();
p.roomNumber = 0;