[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.261,1.262
Travis Howell
kirben at users.sourceforge.net
Thu Jul 24 08:16:23 CEST 2003
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv28183/simon
Modified Files:
simon.cpp
Log Message:
Ooops
Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.261
retrieving revision 1.262
diff -u -d -r1.261 -r1.262
--- simon.cpp 24 Jul 2003 14:21:55 -0000 1.261
+++ simon.cpp 24 Jul 2003 15:15:35 -0000 1.262
@@ -2389,7 +2389,8 @@
_vga_tick_counter++;
while (vte->delay) {
- if (!--vte->delay) {
+ // not quite ok, good enough
+ if ((int16)(vte->delay -= 5) <= 0) {
uint16 cur_file = vte->cur_vga_file;
uint16 cur_unk = vte->sprite_id;
byte *script_ptr = vte->script_pointer;
@@ -2398,6 +2399,8 @@
delete_vga_timer(vte);
if (script_ptr == NULL) {
+ // special scroll timer
+ scroll_timeout();
} else {
vc_resume_sprite(script_ptr, cur_file, cur_unk);
}
More information about the Scummvm-git-logs
mailing list