diff options
author | Eugene Sandulenko | 2019-06-30 01:39:38 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:05 +0200 |
commit | 216ec886ac9ddd8edb6961fbfb48a47e4069eac7 (patch) | |
tree | 4ce40d092434dcfdc691c760ca11a0232898106f | |
parent | a4eb195ab8e08f034c6a0b4ca9e98fafc64275cb (diff) | |
download | scummvm-rg350-216ec886ac9ddd8edb6961fbfb48a47e4069eac7.tar.gz scummvm-rg350-216ec886ac9ddd8edb6961fbfb48a47e4069eac7.tar.bz2 scummvm-rg350-216ec886ac9ddd8edb6961fbfb48a47e4069eac7.zip |
JANITORIAL: Fix code formatting
-rw-r--r-- | engines/hdb/ai-funcs.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp index 2b74dd2061..1d22805424 100644 --- a/engines/hdb/ai-funcs.cpp +++ b/engines/hdb/ai-funcs.cpp @@ -953,7 +953,9 @@ void AI::animateEntity(AIEntity *e) { warning("AI-FUNCS: animateEntity: DIR_NONE found"); break; } - if ((e->tileX+xOff == _waypoints[_numWaypoints-1].x && e->tileY + yOff == _waypoints[_numWaypoints - 1].y) && e->level == _waypoints[_numWaypoints - 1].level) { + if ((e->tileX + xOff == _waypoints[_numWaypoints - 1].x && + e->tileY + yOff == _waypoints[_numWaypoints - 1].y) && + e->level == _waypoints[_numWaypoints - 1].level) { memset(&_waypoints[0], 0, sizeof(_waypoints)); _numWaypoints = 1; _waypoints[0].x = e->tileX + xOff; |