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
/
gameconfig.cpp
diff --git
a/src/gameconfig.cpp
b/src/gameconfig.cpp
index
43f2ce0
..
8947005
100644
(file)
--- a/
src/gameconfig.cpp
+++ b/
src/gameconfig.cpp
@@
-57,7
+57,7
@@
void
Config::load()
{
lisp::Parser parser;
-
std::auto_ptr<lisp::Lisp> root (parser.parse("config")
);
+
const lisp::Lisp* root = parser.parse("config"
);
const lisp::Lisp* config_lisp = root->get_lisp("supertux-config");
if(!config_lisp)