projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41b1a29
)
Kugelblitz now appears at specified position, not at [0, 0]
author
Miloš Klouček
<m.kloucek.m@atlas.cz>
Thu, 3 Jul 2008 16:36:14 +0000
(16:36 +0000)
committer
Miloš Klouček
<m.kloucek.m@atlas.cz>
Thu, 3 Jul 2008 16:36:14 +0000
(16:36 +0000)
SVN-Revision: 5647
src/badguy/kugelblitz.cpp
patch
|
blob
|
history
diff --git
a/src/badguy/kugelblitz.cpp
b/src/badguy/kugelblitz.cpp
index
0022171
..
813492d
100644
(file)
--- a/
src/badguy/kugelblitz.cpp
+++ b/
src/badguy/kugelblitz.cpp
@@
-34,7
+34,7
@@
static const float X_OFFSCREEN_DISTANCE = 1600;
static const float Y_OFFSCREEN_DISTANCE = 1200;
Kugelblitz::Kugelblitz(const lisp::Lisp& reader)
- : BadGuy(
Vector(0,0)
, "images/creatures/kugelblitz/kugelblitz.sprite"), groundhit_pos_set(false)
+ : BadGuy(
reader
, "images/creatures/kugelblitz/kugelblitz.sprite"), groundhit_pos_set(false)
{
reader.get("x", start_position.x);
sprite->set_action("falling");