projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- committed patch from Richard Smith
[supertux.git]
/
src
/
leveleditor.cpp
diff --git
a/src/leveleditor.cpp
b/src/leveleditor.cpp
index
de5a83b
..
260c9d3
100644
(file)
--- a/
src/leveleditor.cpp
+++ b/
src/leveleditor.cpp
@@
-840,7
+840,8
@@
if(level_changed)
GameSession session(level_filename, ST_GL_TEST);
session.run();
// player_status.reset();
GameSession session(level_filename, ST_GL_TEST);
session.run();
// player_status.reset();
-sound_manager->halt_music();
+if(sound_manager)
+ sound_manager->halt_music();
}
void LevelEditor::change(int x, int y, int newtile, int layer)
}
void LevelEditor::change(int x, int y, int newtile, int layer)