mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
I don't know if this is correct, but it does improve sprite positioning a
lot in Feeble Files. svn-id: r19663
This commit is contained in:
+3
-1
@@ -837,8 +837,10 @@ void SimonEngine::vc10_draw() {
|
||||
offs = ((vlut[0]) * 2 + state.x) * 8;
|
||||
offs2 = (vlut[1] + state.y);
|
||||
} else {
|
||||
offs = ((vlut[0] - _video_windows[16]) * 2 + state.x) * 8;
|
||||
offs = ((vlut[0] - _video_windows[16]) * 2 + state.x);
|
||||
offs2 = (vlut[1] - _video_windows[17] + state.y);
|
||||
if (getGameType() != GType_FF)
|
||||
offs *= 8;
|
||||
}
|
||||
|
||||
state.surf2_addr += offs + offs2 * state.surf2_pitch;
|
||||
|
||||
Reference in New Issue
Block a user