[Scummvm-cvs-logs] CVS: scummvm/scumm saveload.cpp,1.47,1.48 script.cpp,1.42,1.43 scumm.h,1.132,1.133

J.Brown (Ender) ender at scummvm.org
Wed Jan 15 12:37:01 CET 2003


> Hum, where does it use more than 16 local variables? The highest I
> see is access to localvar15, and that is in exactly one script,
> ROOM-010-cannon-v/LSCR-2008.lck. So why was that change made? If we
> error out due to not enough local vars, then most ceretainly
> something else is wrong, and this change is just hiding the symptoms
> and is not fixing the issue.

This is Disk 2. During the ship-to-ship combat sequences, up to 22 is
used. I've expanded this to 25 just to have a nice even number, and for
breathing space.

> Most probably, in saveload.cpp it should be 21, too, no?

You tell me - is saveload 0-x based (in which case it should be 20...) or
1-x based (21)?

I think your right, but it's 4:30am here and my brain is shutting down for
the morning <g>

 - Ender





More information about the Scummvm-git-logs mailing list