projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Turned a lot of other global objects into Currentons
[supertux.git]
/
src
/
object
/
falling_coin.cpp
diff --git
a/src/object/falling_coin.cpp
b/src/object/falling_coin.cpp
index
66b2c2e
..
ffa221c
100644
(file)
--- a/
src/object/falling_coin.cpp
+++ b/
src/object/falling_coin.cpp
@@
-25,7
+25,7
@@
FallingCoin::FallingCoin(const Vector& start_position, const int vel_x) :
sprite()
{
pos = start_position;
- sprite =
sprite_manager
->create("images/objects/coin/coin.sprite");
+ sprite =
SpriteManager::current()
->create("images/objects/coin/coin.sprite");
physic.set_velocity_y(-800);
physic.set_velocity_x(vel_x);
}