projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Precalculated renderer specific surface data, better management of multiple renderers...
[supertux.git]
/
src
/
scripting
/
squirrel_util.cpp
diff --git
a/src/scripting/squirrel_util.cpp
b/src/scripting/squirrel_util.cpp
index
d3fde6d
..
5f2e3f3
100644
(file)
--- a/
src/scripting/squirrel_util.cpp
+++ b/
src/scripting/squirrel_util.cpp
@@
-475,7
+475,7
@@
int read_int(HSQUIRRELVM vm, const char* name)
throw Scripting::SquirrelError(vm, msg.str());
}
-
int
result;
+
SQInteger
result;
if(SQ_FAILED(sq_getinteger(vm, -1, &result))) {
std::ostringstream msg;
msg << "Couldn't get int value for '" << name << "' from table";