mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
WINTERMUTE: WME3D: Restore original 'if' condition and fixed ported condition to match original
This commit is contained in:
@@ -157,8 +157,10 @@ bool AdActor3DX::update() {
|
||||
_nextState = STATE_READY;
|
||||
} else {
|
||||
// set animation
|
||||
if (_directTurnMode != DIRECT_TURN_NONE) {
|
||||
if (_directTurnAnim.empty()) {
|
||||
if (_directWalkMode != DIRECT_WALK_NONE) {
|
||||
// disabled in original code
|
||||
} else if (_directTurnMode != DIRECT_TURN_NONE) {
|
||||
if (!_directTurnAnim.empty()) {
|
||||
_modelX->playAnim(0, _directTurnAnim, _defaultTransTime, false, _defaultStopTransTime);
|
||||
} else {
|
||||
_modelX->playAnim(0, _idleAnimName, _defaultTransTime, false, _defaultStopTransTime);
|
||||
|
||||
Reference in New Issue
Block a user