CGE: Fix uninitialised value Valgrind warnings when saving sprite data

This commit is contained in:
Paul Gilbert 2011-08-06 13:46:44 +10:00
parent 33c4226486
commit 63d49d3e1a

View File

@ -647,7 +647,7 @@ BitmapPtr Sprite::ghost() {
}
void Sprite::sync(Common::Serializer &s) {
uint16 unused;
uint16 unused = 0;
s.syncAsUint16LE(unused);
s.syncAsUint16LE(unused); // _ext