projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hopefully fixed the crash on exit, keep sectors script bundled in the sector and...
[supertux.git]
/
src
/
scripting
/
wrapper.cpp
diff --git
a/src/scripting/wrapper.cpp
b/src/scripting/wrapper.cpp
index
b31ccce
..
532ad14
100644
(file)
--- a/
src/scripting/wrapper.cpp
+++ b/
src/scripting/wrapper.cpp
@@
-1822,7
+1822,6
@@
void register_supertux_wrapper(HSQUIRRELVM v)
{
using namespace Wrapper;
{
using namespace Wrapper;
- sq_pushroottable(v);
sq_pushstring(v, "KEY_BRASS", -1);
sq_pushinteger(v, 1);
if(SQ_FAILED(sq_createslot(v, -3))) {
sq_pushstring(v, "KEY_BRASS", -1);
sq_pushinteger(v, 1);
if(SQ_FAILED(sq_createslot(v, -3))) {
@@
-2343,7
+2342,6
@@
void register_supertux_wrapper(HSQUIRRELVM v)
throw SquirrelError(v, "Couldn't register class 'FloatingImage'");
}
throw SquirrelError(v, "Couldn't register class 'FloatingImage'");
}
- sq_pop(v, 1);
}
} // end of namespace Scripting
}
} // end of namespace Scripting