diff options
author | Nipun Garg | 2019-06-28 02:38:19 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:03 +0200 |
commit | 55c78f1f53a3e5517dfa80c4aadd95e05e7ba751 (patch) | |
tree | 0fbbf1b90aad417784d3fa27012f0b14d8938f23 /engines/hdb/ai-lists.cpp | |
parent | 3c44d05daaf22886c932aa053f915316e7d6f9dd (diff) | |
download | scummvm-rg350-55c78f1f53a3e5517dfa80c4aadd95e05e7ba751.tar.gz scummvm-rg350-55c78f1f53a3e5517dfa80c4aadd95e05e7ba751.tar.bz2 scummvm-rg350-55c78f1f53a3e5517dfa80c4aadd95e05e7ba751.zip |
HDB: Fix formatting
Diffstat (limited to 'engines/hdb/ai-lists.cpp')
-rw-r--r-- | engines/hdb/ai-lists.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/hdb/ai-lists.cpp b/engines/hdb/ai-lists.cpp index ab445fd583..d76fa9ec51 100644 --- a/engines/hdb/ai-lists.cpp +++ b/engines/hdb/ai-lists.cpp @@ -441,11 +441,11 @@ bool AI::autoActive(int x, int y) { } CallbackDef allCallbacks[] = { - {NO_FUNCTION, NULL}, - {AI_BARREL_EXPLOSION_END, aiBarrelExplosionEnd}, - {CALLBACK_DOOR_OPEN_CLOSE, callbackDoorOpenClose}, - {CALLBACK_AUTODOOR_OPEN_CLOSE, callbackAutoDoorOpenClose}, - {CALLBACK_END, NULL} + {NO_FUNCTION, NULL}, + {AI_BARREL_EXPLOSION_END, aiBarrelExplosionEnd}, + {CALLBACK_DOOR_OPEN_CLOSE, callbackDoorOpenClose}, + {CALLBACK_AUTODOOR_OPEN_CLOSE, callbackAutoDoorOpenClose}, + {CALLBACK_END, NULL} }; void AI::addCallback(CallbackType type, int x, int y, int delay) { @@ -499,7 +499,7 @@ void AI::addToLuaList(int x, int y, int value1, int value2, char *luaFuncInit, c } bool AI::checkLuaList(AIEntity *e, int x, int y) { - for (int i = 0;i < _numLuaList; i++) { + for (int i = 0; i < _numLuaList; i++) { if (_luaList[i].x == x && _luaList[i].y == y && _luaList[i].luaFuncUse[0]) { if (e == _player) { lookAtXY(x, y); @@ -516,7 +516,7 @@ bool AI::checkLuaList(AIEntity *e, int x, int y) { } bool AI::luaExistAtXY(int x, int y) { - for (int i = 0;i < _numLuaList; i++) { + for (int i = 0; i < _numLuaList; i++) { if (_luaList[i].x == x && _luaList[i].y == y && _luaList[i].luaFuncUse[0]) { return true; } @@ -560,7 +560,7 @@ void AI::addToTeleportList(int teleIndex, int x, int y, int dir, int level, int } bool AI::findTeleporterDest(int tileX, int tileY, SingleTele *info) { - for (int i = 0;i < _numTeleporters; i++) { + for (int i = 0; i < _numTeleporters; i++) { if ((_teleporters[i].x1 == tileX) && (_teleporters[i].x1 == tileY)) { info->anim = _teleporters[i].anim2; info->x = _teleporters[i].x2; |