projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7b1cc8
)
Commited patch from RavuAlHemio (bug #133) due to his svn write access problems.
author
Arvid Norlander
<anmaster@berlios.de>
Sat, 27 Jan 2007 20:02:17 +0000
(20:02 +0000)
committer
Arvid Norlander
<anmaster@berlios.de>
Sat, 27 Jan 2007 20:02:17 +0000
(20:02 +0000)
SVN-Revision: 4692
src/scripting/functions.cpp
patch
|
blob
|
history
diff --git
a/src/scripting/functions.cpp
b/src/scripting/functions.cpp
index
456b351
..
b978813
100644
(file)
--- a/
src/scripting/functions.cpp
+++ b/
src/scripting/functions.cpp
@@
-166,7
+166,8
@@
void save_state()
if(World::current() == NULL)
throw std::runtime_error("Can't save state without active World");
- WorldMap::current()->save_state();
+ if(WorldMap::current() != NULL)
+ WorldMap::current()->save_state();
World::current()->save_state();
}