[Scummvm-cvs-logs] scummvm master -> 001f7d6403f415ea6c2e4fdde2c94a127f18d267

athrxx athrxx at scummvm.org
Tue Nov 8 22:31:05 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
001f7d6403 KYRA: fix bug #3429455


Commit: 001f7d6403f415ea6c2e4fdde2c94a127f18d267
    https://github.com/scummvm/scummvm/commit/001f7d6403f415ea6c2e4fdde2c94a127f18d267
Author: athrxx (athrxx at scummvm.org)
Date: 2011-11-08T13:29:55-08:00

Commit Message:
KYRA: fix bug #3429455

(signed/unsigned bug in LoLEngine::olol_getWallType)

Changed paths:
    engines/kyra/script_lol.cpp



diff --git a/engines/kyra/script_lol.cpp b/engines/kyra/script_lol.cpp
index 6df92a4..d8ba32c 100644
--- a/engines/kyra/script_lol.cpp
+++ b/engines/kyra/script_lol.cpp
@@ -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) {






More information about the Scummvm-git-logs mailing list