projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
had more changes lying around here
[supertux.git]
/
src
/
badguy
/
mriceblock.cpp
diff --git
a/src/badguy/mriceblock.cpp
b/src/badguy/mriceblock.cpp
index
9c5ad78
..
4e1b174
100644
(file)
--- a/
src/badguy/mriceblock.cpp
+++ b/
src/badguy/mriceblock.cpp
@@
-33,8
+33,8
@@
MrIceBlock::write(lisp::Writer& writer)
{
writer.start_list("mriceblock");
{
writer.start_list("mriceblock");
- writer.write_float("x",
get_pos()
.x);
- writer.write_float("y",
get_pos()
.y);
+ writer.write_float("x",
start_position
.x);
+ writer.write_float("y",
start_position
.y);
writer.end_list("mriceblock");
}
writer.end_list("mriceblock");
}
@@
-165,3
+165,4
@@
MrIceBlock::collision_squished(Player& player)
return true;
}
return true;
}
+IMPLEMENT_FACTORY(MrIceBlock, "mriceblock")