TSAGE: BF - Remove some useless variables, some renaming

This commit is contained in:
Strangerke 2013-11-26 07:59:12 +01:00
parent af510118e8
commit c211cede06
6 changed files with 27 additions and 24 deletions

View file

@ -1545,7 +1545,11 @@ void ScenePalette::synchronize(Serializer &s) {
s.syncAsSint32LE(_colors.foreground);
s.syncAsSint32LE(_colors.background);
s.syncAsSint32LE(_field412);
if (s.getVersion() < 12) {
int useless = 0;
s.syncAsSint16LE(useless);
}
s.syncAsByte(_redColor);
s.syncAsByte(_greenColor);
s.syncAsByte(_blueColor);