projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4481f50
)
Small ctor change.
author
Mathnerd314
<man.is.allan@gmail.com>
Sun, 28 Feb 2010 19:57:14 +0000
(19:57 +0000)
committer
Mathnerd314
<man.is.allan@gmail.com>
Sun, 28 Feb 2010 19:57:14 +0000
(19:57 +0000)
SVN-Revision: 6468
src/object/floating_image.cpp
patch
|
blob
|
history
diff --git
a/src/object/floating_image.cpp
b/src/object/floating_image.cpp
index
0d41354
..
856bafc
100644
(file)
--- a/
src/object/floating_image.cpp
+++ b/
src/object/floating_image.cpp
@@
-20,7
+20,7
@@
#include "supertux/globals.hpp"
FloatingImage::FloatingImage(const std::string& spritefile) :
- sprite(),
+ sprite(
sprite_manager->create(spritefile)
),
layer(LAYER_FOREGROUND1 + 1),
visible(false),
anchor(ANCHOR_MIDDLE),
@@
-28,7
+28,6
@@
FloatingImage::FloatingImage(const std::string& spritefile) :
fading(0),
fadetime(0)
{
- sprite = sprite_manager->create(spritefile);
}
FloatingImage::~FloatingImage()