diff options
author | keyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-04-02 08:48:31 +0200 |
---|---|---|
committer | keyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-04-02 08:48:31 +0200 |
commit | 8f047b07046314f1ff22bfc775240aaeb300ef1b (patch) | |
tree | 287f9ae175e57adc03eb0dd2d8d47229b3e64d64 /source/Mobs | |
parent | Cobweb lets light through. (diff) | |
download | cuberite-8f047b07046314f1ff22bfc775240aaeb300ef1b.tar cuberite-8f047b07046314f1ff22bfc775240aaeb300ef1b.tar.gz cuberite-8f047b07046314f1ff22bfc775240aaeb300ef1b.tar.bz2 cuberite-8f047b07046314f1ff22bfc775240aaeb300ef1b.tar.lz cuberite-8f047b07046314f1ff22bfc775240aaeb300ef1b.tar.xz cuberite-8f047b07046314f1ff22bfc775240aaeb300ef1b.tar.zst cuberite-8f047b07046314f1ff22bfc775240aaeb300ef1b.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Mobs/Monster.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Mobs/Monster.cpp b/source/Mobs/Monster.cpp index 8867c7e60..77bad8f51 100644 --- a/source/Mobs/Monster.cpp +++ b/source/Mobs/Monster.cpp @@ -153,6 +153,7 @@ void cMonster::Tick(float a_Dt, MTRand & a_TickRandom) double Rotation, Pitch; Distance.Normalize(); VectorToEuler( Distance.x, Distance.y, Distance.z, Rotation, Pitch ); + SetHeadYaw (Rotation); SetRotation( Rotation ); SetPitch( Pitch ); } |