SAGA2: Fix uninitialized field. CID 1458722

This commit is contained in:
a/ 2021-08-06 04:22:19 +09:00
parent 771d0a903f
commit 9777cc6a1a

View File

@ -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);