mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-07 10:21:31 +00:00
SAGA2: Fix uninitialized field. CID 1458722
This commit is contained in:
parent
771d0a903f
commit
9777cc6a1a
@ -370,6 +370,8 @@ Sensor::Sensor(Common::InSaveFile *in, int16 ctr) {
|
||||
// Restore the range
|
||||
range = in->readSint16LE();
|
||||
|
||||
_active = true;
|
||||
|
||||
newSensor(this, ctr);
|
||||
|
||||
debugC(4, kDebugSaveload, "... objID = %d", objID);
|
||||
|
Loading…
Reference in New Issue
Block a user