diff options
author | Paul Gilbert | 2018-08-17 20:30:20 -0700 |
---|---|---|
committer | Paul Gilbert | 2018-08-17 20:30:20 -0700 |
commit | 11e33ba3fc1b65789358485fa50cdbc0cf26aac7 (patch) | |
tree | ebb245cf6617e1ac0b35bf3681307bcbc541b230 /engines/lure/hotspots.cpp | |
parent | c8d3af3874d7c814a9f1f03ad740c3e9f8386eaa (diff) | |
download | scummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.tar.gz scummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.tar.bz2 scummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.zip |
JANITORIAL: Removing trailing spaces after int casts
Diffstat (limited to 'engines/lure/hotspots.cpp')
-rw-r--r-- | engines/lure/hotspots.cpp | 10 |
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; |