1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-16 01:54:38 +02:00

minor fix

This commit is contained in:
XProger
2018-05-22 01:28:53 +03:00
parent 1f347afcc7
commit 2e35760309

View File

@@ -862,10 +862,10 @@ struct Gorilla : Enemy {
virtual void updatePosition() {
float angleY = 0.0f;
if (state == STATE_RUN || state == STATE_WALK)
if (state == STATE_RUN)
getTargetInfo(0, NULL, NULL, &angleY, NULL);
turn(angleY, state == STATE_RUN ? GORILLA_TURN_FAST : GORILLA_TURN_SLOW);
turn(angleY, GORILLA_TURN_FAST);
if (state == STATE_DEATH) {
animation.overrideMask = 0;