mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 07:07:10 +00:00
CGE: Fix uninitialised value Valgrind warnings when saving sprite data
This commit is contained in:
parent
33c4226486
commit
63d49d3e1a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user