diff options
author | Florian Kagerer | 2008-05-17 21:02:10 +0000 |
---|---|---|
committer | Florian Kagerer | 2008-05-17 21:02:10 +0000 |
commit | 1fc25f99974e2d5b56e17bb50c69d2dd5aa06885 (patch) | |
tree | b132d4362e8057082c67c3813664a8f7496b0ab5 /engines | |
parent | ec763c4be9f4e780fe6541f66895a0b525cfa637 (diff) | |
download | scummvm-rg350-1fc25f99974e2d5b56e17bb50c69d2dd5aa06885.tar.gz scummvm-rg350-1fc25f99974e2d5b56e17bb50c69d2dd5aa06885.tar.bz2 scummvm-rg350-1fc25f99974e2d5b56e17bb50c69d2dd5aa06885.zip |
fix o1_fillRect()
svn-id: r32160
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/script_v1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/script_v1.cpp b/engines/kyra/script_v1.cpp index 7881605b9e..ce3b7ba050 100644 --- a/engines/kyra/script_v1.cpp +++ b/engines/kyra/script_v1.cpp @@ -98,7 +98,7 @@ int KyraEngine_v1::o1_playWanderScoreViaMap(EMCState *script) { int KyraEngine_v1::o1_fillRect(EMCState *script) { debugC(3, kDebugLevelScriptFuncs, "KyraEngine_v1::o1_fillRect(%p) (%d, %d, %d, %d, %d, %d)", (const void *)script, stackPos(0), stackPos(1), stackPos(2), stackPos(3), stackPos(4), stackPos(5)); - screen()->fillRect(stackPos(1), stackPos(2), stackPos(1)+stackPos(3), stackPos(2)+stackPos(4), stackPos(5), stackPos(0)); + screen()->fillRect(stackPos(1), stackPos(2), stackPos(3), stackPos(4), stackPos(5), stackPos(0)); return 0; } |