diff options
-rw-r--r-- | engines/kyra/scene_lol.cpp | 2 | ||||
-rw-r--r-- | engines/kyra/script_lol.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
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: |