mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
ASYLUM: prevent Armed Max from going to idle state
This commit is contained in:
parent
bdbb14823d
commit
1746134db6
@ -2202,8 +2202,8 @@ void Actor::updateStatusEnabled() {
|
||||
_frameIndex = (_frameIndex + 1) % _frameCount;
|
||||
|
||||
if (_vm->screenUpdateCount - _lastScreenUpdate > 300) {
|
||||
// All actors except Crow
|
||||
if (strcmp((char *)&_name, "Crow")) {
|
||||
// All actors except Crow and Armed Max
|
||||
if (strcmp((char *)&_name, "Crow") && strcmp((char *)_name, "Armed Max")) {
|
||||
if (_vm->getRandom(100) < 50
|
||||
&& (!getSpeech()->getSoundResourceId() || !getSound()->isPlaying(getSpeech()->getSoundResourceId()))
|
||||
&& isDefaultDirection(10))
|
||||
|
Loading…
Reference in New Issue
Block a user