projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab24e21
)
Removed unneeded code, sq_newslot() will override a given slot, a separate sq_deletes...
author
Ingo Ruhnke
<grumbel@gmail.com>
Thu, 14 Aug 2014 05:18:59 +0000
(07:18 +0200)
committer
Ingo Ruhnke
<grumbel@gmail.com>
Thu, 14 Aug 2014 05:18:59 +0000
(07:18 +0200)
src/supertux/savegame.cpp
patch
|
blob
|
history
diff --git
a/src/supertux/savegame.cpp
b/src/supertux/savegame.cpp
index
4119a2d
..
18e80c0
100644
(file)
--- a/
src/supertux/savegame.cpp
+++ b/
src/supertux/savegame.cpp
@@
-256,12
+256,6
@@
Savegame::clear_state_table()
// delete existing state table, if it exists
sq_pushroottable(vm);
{
- /*sq_pushstring(vm, "state", -1);
- if(SQ_FAILED(sq_deleteslot(vm, -2, SQFalse)))
- {
- sq_pop(vm, 1);
- }*/
-
// create a new empty state table
sq_pushstring(vm, "state", -1);
sq_newtable(vm);