diff options
author | Nipun Garg | 2019-07-03 21:48:40 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:10 +0200 |
commit | 1cd0a8d9368965eb77666a8d17ede2097a43655c (patch) | |
tree | 1a23727f61012810eb4e9cc06da77ecfd3986b4e /engines | |
parent | 3eab2731cdf60574b9ecddb09b5a8ad4a02a566b (diff) | |
download | scummvm-rg350-1cd0a8d9368965eb77666a8d17ede2097a43655c.tar.gz scummvm-rg350-1cd0a8d9368965eb77666a8d17ede2097a43655c.tar.bz2 scummvm-rg350-1cd0a8d9368965eb77666a8d17ede2097a43655c.zip |
JANITORIAL: Fix formatting
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai-lists.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/engines/hdb/ai-lists.cpp b/engines/hdb/ai-lists.cpp index 4e6c876192..2456812e09 100644 --- a/engines/hdb/ai-lists.cpp +++ b/engines/hdb/ai-lists.cpp @@ -190,8 +190,7 @@ void AI::animateBridges() { case DIR_DOWN: g_hdb->_map->setMapFGTileIndex(_bridges[i].x, _bridges[i].y, _targetBridgeD + _bridges[i].anim); _bridges[i].anim++; - if (_bridges[i].anim > 2) - { + if (_bridges[i].anim > 2) { g_hdb->_map->setMapFGTileIndex(_bridges[i].x, _bridges[i].y, _targetBridgeMidUD); yv = 1; done = true; @@ -200,8 +199,7 @@ void AI::animateBridges() { case DIR_LEFT: g_hdb->_map->setMapFGTileIndex(_bridges[i].x, _bridges[i].y, _targetBridgeL + _bridges[i].anim); _bridges[i].anim++; - if (_bridges[i].anim > 2) - { + if (_bridges[i].anim > 2) { g_hdb->_map->setMapFGTileIndex(_bridges[i].x, _bridges[i].y, _targetBridgeMidLR); xv = -1; done = true; @@ -210,8 +208,7 @@ void AI::animateBridges() { case DIR_RIGHT: g_hdb->_map->setMapFGTileIndex(_bridges[i].x, _bridges[i].y, _targetBridgeR + _bridges[i].anim); _bridges[i].anim++; - if (_bridges[i].anim > 2) - { + if (_bridges[i].anim > 2) { g_hdb->_map->setMapFGTileIndex(_bridges[i].x, _bridges[i].y, _targetBridgeMidLR); xv = 1; done = true; @@ -220,8 +217,7 @@ void AI::animateBridges() { } // is this bridge done extending one chunk? - if (done == true) - { + if (done == true) { if (g_hdb->_map->onScreen(_bridges[i].x, _bridges[i].y)) g_hdb->_sound->playSound(SND_BRIDGE_EXTEND); _bridges[i].anim = 0; |