fix o1_fillRect()

svn-id: r32160
This commit is contained in:
Florian Kagerer 2008-05-17 21:02:10 +00:00
parent ec763c4be9
commit 1fc25f9997

View File

@ -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;
}