SCUMM: (FM-Towns) - array declaration cleanup
_cyclRects can have no more than 10 entries, but was declared as [16]. Someone put a TODO about it in saveload.cpp, so why not fix it...
This commit is contained in:
parent
d2c4ad9b16
commit
65f567d817
2 changed files with 1 additions and 2 deletions
|
@ -1318,7 +1318,6 @@ void ScummEngine::saveLoadWithSerializer(Common::Serializer &s) {
|
|||
|
||||
if (hasTownsData) {
|
||||
s.syncBytes(_textPalette, 48);
|
||||
// TODO: This seems wrong, there are 16 _cyclRects
|
||||
s.syncArray(_cyclRects, 10, syncWithSerializer, VER(82));
|
||||
if (s.getVersion() >= VER(82))
|
||||
syncWithSerializer(s, _curStringRect);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue