projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
883d033
)
Removed erroneous sq_pop(), in Squirrel3 sq_deleteslot() does always pop the argument...
author
Ingo Ruhnke
<grumbel@gmail.com>
Thu, 14 Aug 2014 03:04:42 +0000
(
05:04
+0200)
committer
Ingo Ruhnke
<grumbel@gmail.com>
Thu, 14 Aug 2014 03:04:42 +0000
(
05:04
+0200)
src/worldmap/worldmap.cpp
patch
|
blob
|
history
diff --git
a/src/worldmap/worldmap.cpp
b/src/worldmap/worldmap.cpp
index
ba15756
..
ca70b83
100644
(file)
--- a/
src/worldmap/worldmap.cpp
+++ b/
src/worldmap/worldmap.cpp
@@
-986,7
+986,8
@@
WorldMap::save_state()
sq_pushstring(vm, map_filename.c_str(), map_filename.length());
if(SQ_FAILED(sq_deleteslot(vm, -2, SQFalse)))
- sq_pop(vm, 1);
+ {
+ }
// construct new table for this worldmap
sq_pushstring(vm, map_filename.c_str(), map_filename.length());