From bcae0570a6dcea636092bb24b090530741c68fb2 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 20 Jan 2009 09:32:43 +0000 Subject: Yet another two small formatting fixes. svn-id: r35942 --- engines/kyra/scene_lol.cpp | 2 +- engines/kyra/script_lol.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'engines') diff --git a/engines/kyra/scene_lol.cpp b/engines/kyra/scene_lol.cpp index 2c6437605e..505bf8cc70 100644 --- a/engines/kyra/scene_lol.cpp +++ b/engines/kyra/scene_lol.cpp @@ -893,7 +893,7 @@ void LoLEngine::generateBlockDrawingBuffer(int block, int direction) { if (hasWall(t) && !(_wllWallFlags[t2] & 8)) generateBlockDrawingBufferF1(17, 3, t, 102, 3, 5); - else if(t && (_wllWallFlags[t2] & 8)) + else if (t && (_wllWallFlags[t2] & 8)) generateBlockDrawingBufferF1(17, 3, t2, 102, 3, 5); t = _curBlockCaps[2]->walls[_sceneDrawVar2]; diff --git a/engines/kyra/script_lol.cpp b/engines/kyra/script_lol.cpp index bb0fd6c0d0..9bbf04fa09 100644 --- a/engines/kyra/script_lol.cpp +++ b/engines/kyra/script_lol.cpp @@ -172,7 +172,7 @@ int LoLEngine::olol_makeItem(EMCState *script) { int LoLEngine::olol_getItemPara(EMCState *script) { debugC(3, kDebugLevelScriptFuncs, "LoLEngine::olol_getItemPara(%p) (%d, %d)", (const void *)script, stackPos(0), stackPos(1)); - if(!stackPos(0)) + if (!stackPos(0)) return 0; ItemInPlay *i = &_itemsInPlay[stackPos(0)]; @@ -272,7 +272,7 @@ int LoLEngine::olol_setCharacterStat(EMCState *script) { // case 8 should fall through till case 10. case 8 seems to handle // max magic points settings, while case 10 seems to remove an // item from the inventory of a character. If it should really - // fall through please add "// fall throught" at the end of the + // fall through please add "// fall through" at the end of the // case. switch (stackPos(1)) { case 0: -- cgit v1.2.3