projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Saner life expectancy
[supertux.git]
/
src
/
sprite
/
sprite.hpp
diff --git
a/src/sprite/sprite.hpp
b/src/sprite/sprite.hpp
index
f37c473
..
b85b62e
100644
(file)
--- a/
src/sprite/sprite.hpp
+++ b/
src/sprite/sprite.hpp
@@
-110,7
+110,7
@@
public:
/** Set current frame */
void set_frame(int frame)
{
/** Set current frame */
void set_frame(int frame)
{
- this->frame = (frame % get_frames());
+ this->frame = (f
loat) (f
rame % get_frames());
}
Surface* get_frame(unsigned int frame)
{
}
Surface* get_frame(unsigned int frame)
{