projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more tuning of badguy activation
[supertux.git]
/
src
/
sprite.cpp
diff --git
a/src/sprite.cpp
b/src/sprite.cpp
index
72ef1da
..
bb31251
100644
(file)
--- a/
src/sprite.cpp
+++ b/
src/sprite.cpp
@@
-79,7
+79,7
@@
Sprite::draw(float x, float y)
unsigned int frame = get_current_frame();
if (frame < surfaces.size())
- surfaces[frame]->draw(x - x_hotspot
- scroll_x, y - y_hotspot - scroll_y
);
+ surfaces[frame]->draw(x - x_hotspot
, y - y_hotspot
);
}
void