Skip to content

Commit

Permalink
KYRA: fix bug #3429455
Browse files Browse the repository at this point in the history
(signed/unsigned bug in LoLEngine::olol_getWallType)
  • Loading branch information
athrxx committed Nov 8, 2011
1 parent 8ee310a commit 001f7d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/kyra/script_lol.cpp
Expand Up @@ -124,7 +124,7 @@ int LoLEngine::olol_setWallType(EMCState *script) {

int LoLEngine::olol_getWallType(EMCState *script) {
debugC(3, kDebugLevelScriptFuncs, "LoLEngine::olol_getWallType(%p) (%d, %d)", (const void *)script, stackPos(0), stackPos(1));
return _levelBlockProperties[stackPos(0)].walls[stackPos(1) & 3];
return (int8)_levelBlockProperties[stackPos(0)].walls[stackPos(1) & 3];
}

int LoLEngine::olol_drawScene(EMCState *script) {
Expand Down

0 comments on commit 001f7d6

Please sign in to comment.