projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update CMake to 3.2.1 in .travis.yml
[supertux.git]
/
src
/
object
/
bouncy_coin.cpp
diff --git
a/src/object/bouncy_coin.cpp
b/src/object/bouncy_coin.cpp
index
12b3148
..
6e95673
100644
(file)
--- a/
src/object/bouncy_coin.cpp
+++ b/
src/object/bouncy_coin.cpp
@@
-31,7
+31,7
@@
BouncyCoin::BouncyCoin(const Vector& pos, bool emerge) :
emerge_distance(0)
{
timer.start(LIFE_TIME);
- sprite =
sprite_manager
->create("images/objects/coin/coin.sprite");
+ sprite =
SpriteManager::current()
->create("images/objects/coin/coin.sprite");
if(emerge) {
emerge_distance = sprite->get_height();