projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Finish work on Path through the Clouds
[supertux.git]
/
src
/
worldmap
/
level.cpp
diff --git
a/src/worldmap/level.cpp
b/src/worldmap/level.cpp
index
aafa660
..
59984ff
100644
(file)
--- a/
src/worldmap/level.cpp
+++ b/
src/worldmap/level.cpp
@@
-32,7
+32,7
@@
namespace WorldMapNS
{
LevelTile::LevelTile(const std::string& basedir, const lisp::Lisp* lisp)
{
LevelTile::LevelTile(const std::string& basedir, const lisp::Lisp* lisp)
- : solved(false), auto_play(false),
auto_path(true),
basedir(basedir), picture_cached(false),
+ : solved(false), auto_play(false), basedir(basedir), picture_cached(false),
picture(0)
{
lisp->get("name", name);
picture(0)
{
lisp->get("name", name);
@@
-77,7
+77,7
@@
LevelTile::get_picture()
picture_cached = true;
std::string fname = FileSystem::strip_extension(basedir + name)+".jpg";
if (!PHYSFS_exists(fname.c_str())) {
picture_cached = true;
std::string fname = FileSystem::strip_extension(basedir + name)+".jpg";
if (!PHYSFS_exists(fname.c_str())) {
-
return 0;
+ return 0;
}
picture = new Surface(fname);
return picture;
}
picture = new Surface(fname);
return picture;