diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-04-11 08:08:21 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-04-11 08:08:21 +0000 |
commit | 222f8a034707e8f57dc0e4795462af610a911d75 (patch) | |
tree | b3d326477ff6da6718110c0becafb51bd8c0430f /src/game.cpp | |
parent | ac6ed9c03198156e7ebeefc18f2ba04073d5acb8 (diff) | |
download | mana-client-222f8a034707e8f57dc0e4795462af610a911d75.tar.gz mana-client-222f8a034707e8f57dc0e4795462af610a911d75.tar.bz2 mana-client-222f8a034707e8f57dc0e4795462af610a911d75.tar.xz mana-client-222f8a034707e8f57dc0e4795462af610a911d75.zip |
Now damage and speech times are fps independent
and if they're displayed is checked in logic
I also centered the speech above the player
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 8ce8f547..fdd8899e 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -97,7 +97,7 @@ Uint32 second(Uint32 interval, void *param) return interval; } -short get_elapsed_time(short start_time) +int get_elapsed_time(int start_time) { if (start_time <= tick_time) { return (tick_time - start_time) * 10; |