projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SDL: Remove the alpha channel and approximate with a colorkey if the texture doesn...
[supertux.git]
/
src
/
tile_manager.cpp
diff --git
a/src/tile_manager.cpp
b/src/tile_manager.cpp
index
391fc55
..
df1f90d
100644
(file)
--- a/
src/tile_manager.cpp
+++ b/
src/tile_manager.cpp
@@
-69,7
+69,7
@@
void TileManager::load_tileset(std::string filename)
}
lisp::Parser parser;
}
lisp::Parser parser;
-
std::auto_ptr<lisp::Lisp> root (parser.parse(filename)
);
+
const lisp::Lisp* root = parser.parse(filename
);
const lisp::Lisp* tiles_lisp = root->get_lisp("supertux-tiles");
if(!tiles_lisp)
const lisp::Lisp* tiles_lisp = root->get_lisp("supertux-tiles");
if(!tiles_lisp)