projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move style guide stuff into separate file
[supertux.git]
/
src
/
supertux
/
spawn_point.cpp
diff --git
a/src/supertux/spawn_point.cpp
b/src/supertux/spawn_point.cpp
index
5f36934
..
8cc24c0
100644
(file)
--- a/
src/supertux/spawn_point.cpp
+++ b/
src/supertux/spawn_point.cpp
@@
-30,11
+30,13
@@
SpawnPoint::SpawnPoint(const SpawnPoint& other) :
pos(other.pos)
{}
pos(other.pos)
{}
-SpawnPoint::SpawnPoint(const lisp::Lisp* slisp)
+SpawnPoint::SpawnPoint(const Reader& slisp) :
+ name(),
+ pos()
{
pos.x = -1;
pos.y = -1;
{
pos.x = -1;
pos.y = -1;
- lisp::ListIterator iter(slisp);
+ lisp::ListIterator iter(
&
slisp);
while(iter.next()) {
const std::string& token = iter.item();
if(token == "name") {
while(iter.next()) {
const std::string& token = iter.item();
if(token == "name") {