projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Use obstacks for memory allocation for lispfiles and DrawingRequests,
[supertux.git]
/
src
/
level.cpp
diff --git
a/src/level.cpp
b/src/level.cpp
index
c0f5b25
..
1c740e7
100644
(file)
--- a/
src/level.cpp
+++ b/
src/level.cpp
@@
-58,7
+58,7
@@
Level::load(const std::string& filepath)
{
try {
lisp::Parser parser;
-
std::auto_ptr<lisp::Lisp> root (parser.parse(filepath)
);
+
const lisp::Lisp* root = parser.parse(filepath
);
const lisp::Lisp* level = root->get_lisp("supertux-level");
if(!level)