summaryrefslogtreecommitdiffstats
path: root/source/Bindings.cpp
diff options
context:
space:
mode:
authorDaniel O'Brien <marmot.daniel@gmail.com>2013-11-15 12:42:09 +0100
committerDaniel O'Brien <marmot.daniel@gmail.com>2013-11-15 12:42:09 +0100
commit1b2e6e74736f975386879aa5eb064df5b2f88dac (patch)
tree4ae0a0e6af71b9b0827ed2858feba251f8d065b3 /source/Bindings.cpp
parentMerge remote-tracking branch 'upstream/master' into playerxp (diff)
downloadcuberite-1b2e6e74736f975386879aa5eb064df5b2f88dac.tar
cuberite-1b2e6e74736f975386879aa5eb064df5b2f88dac.tar.gz
cuberite-1b2e6e74736f975386879aa5eb064df5b2f88dac.tar.bz2
cuberite-1b2e6e74736f975386879aa5eb064df5b2f88dac.tar.lz
cuberite-1b2e6e74736f975386879aa5eb064df5b2f88dac.tar.xz
cuberite-1b2e6e74736f975386879aa5eb064df5b2f88dac.tar.zst
cuberite-1b2e6e74736f975386879aa5eb064df5b2f88dac.zip
Diffstat (limited to 'source/Bindings.cpp')
-rw-r--r--source/Bindings.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/Bindings.cpp b/source/Bindings.cpp
index c7f6ada19..cc892a70f 100644
--- a/source/Bindings.cpp
+++ b/source/Bindings.cpp
@@ -1,6 +1,6 @@
/*
** Lua binding: AllToLua
-** Generated automatically by tolua++-1.0.92 on 11/14/13 17:13:46.
+** Generated automatically by tolua++-1.0.92 on 11/15/13 18:43:44.
*/
#ifndef __cplusplus
@@ -7708,7 +7708,7 @@ static int tolua_AllToLua_cPlayer_SetExperience00(lua_State* tolua_S)
#endif
{
cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- int a_XpTotal = ((int) tolua_tonumber(tolua_S,2,0));
+ short a_XpTotal = ((short) tolua_tonumber(tolua_S,2,0));
#ifndef TOLUA_RELEASE
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetExperience'", NULL);
#endif
@@ -7742,12 +7742,12 @@ static int tolua_AllToLua_cPlayer_AddExperience00(lua_State* tolua_S)
#endif
{
cPlayer* self = (cPlayer*) tolua_tousertype(tolua_S,1,0);
- int a_Xp_delta = ((int) tolua_tonumber(tolua_S,2,0));
+ short a_Xp_delta = ((short) tolua_tonumber(tolua_S,2,0));
#ifndef TOLUA_RELEASE
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'AddExperience'", NULL);
#endif
{
- int tolua_ret = (int) self->AddExperience(a_Xp_delta);
+ short tolua_ret = (short) self->AddExperience(a_Xp_delta);
tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
}
}
@@ -7779,7 +7779,7 @@ static int tolua_AllToLua_cPlayer_XpGetTotal00(lua_State* tolua_S)
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'XpGetTotal'", NULL);
#endif
{
- int tolua_ret = (int) self->XpGetTotal();
+ short tolua_ret = (short) self->XpGetTotal();
tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
}
}
@@ -7811,7 +7811,7 @@ static int tolua_AllToLua_cPlayer_XpGetLevel00(lua_State* tolua_S)
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'XpGetLevel'", NULL);
#endif
{
- int tolua_ret = (int) self->XpGetLevel();
+ short tolua_ret = (short) self->XpGetLevel();
tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
}
}