diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2012-02-02 17:42:31 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2012-02-02 18:19:58 +0100 |
commit | 19bc88f34713968864922f8f3f2342d10c4f4dbd (patch) | |
tree | 5affb1b26aa1d71b49e1fd7916e41c43df1399c8 /src/gui/widgets/button.cpp | |
parent | 4bcf9fc3218e37eccbebe52a005a37bd8f06a823 (diff) | |
download | mana-19bc88f34713968864922f8f3f2342d10c4f4dbd.tar.gz mana-19bc88f34713968864922f8f3f2342d10c4f4dbd.tar.bz2 mana-19bc88f34713968864922f8f3f2342d10c4f4dbd.tar.xz mana-19bc88f34713968864922f8f3f2342d10c4f4dbd.zip |
Fixed player's character direction.
Made the player's character look at where it is going
even when using the keyboard, by setting its direction
after getting the actual destination, and not before.
I also used the lookAt() function to avoid yet another
custom way of setting the direction.
Reviewed-by: Erik Schilling
Diffstat (limited to 'src/gui/widgets/button.cpp')
0 files changed, 0 insertions, 0 deletions