[Scummvm-git-logs] scummvm master -> 5b3ccfb1ac425e60272bc38d0cb40cc11936781a
sev-
sev at scummvm.org
Wed Aug 31 22:56:59 CEST 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
5b3ccfb1ac FULLPIPE: Fix incorrect code path in StaticANIObject::update
Commit: 5b3ccfb1ac425e60272bc38d0cb40cc11936781a
https://github.com/scummvm/scummvm/commit/5b3ccfb1ac425e60272bc38d0cb40cc11936781a
Author: Retro-Junk (bambarbee at yandex.ru)
Date: 2016-08-31T22:56:42+02:00
Commit Message:
FULLPIPE: Fix incorrect code path in StaticANIObject::update
Changed paths:
engines/fullpipe/statics.cpp
diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp
index 1f25bfb..1e43720 100644
--- a/engines/fullpipe/statics.cpp
+++ b/engines/fullpipe/statics.cpp
@@ -859,15 +859,15 @@ void StaticANIObject::update(int counterdiff) {
}
}
}
- if (!_movement)
- return;
-
- _stepArray.getCurrPoint(&point);
- setOXY(point.x + _ox, point.y + _oy);
- _stepArray.gotoNextPoint();
- if (_someDynamicPhaseIndex == _movement->_currDynamicPhaseIndex)
- adjustSomeXY();
}
+ if (!_movement)
+ return;
+
+ _stepArray.getCurrPoint(&point);
+ setOXY(point.x + _ox, point.y + _oy);
+ _stepArray.gotoNextPoint();
+ if (_someDynamicPhaseIndex == _movement->_currDynamicPhaseIndex)
+ adjustSomeXY();
} else if (_flags & 0x20) {
_flags ^= 0x20;
_flags |= 1;
More information about the Scummvm-git-logs
mailing list