1
0

Fixed calling plugins with userdata params.

This commit is contained in:
madmaxoft 2014-02-04 14:26:36 +01:00
parent 1dbfd7eb76
commit 3dc1452790

View File

@ -1162,6 +1162,7 @@ int cLuaState::CopyStackFrom(cLuaState & a_SrcLuaState, int a_SrcStart, int a_Sr
// Copy the value: // Copy the value:
void * ud = tolua_touserdata(a_SrcLuaState, i, NULL); void * ud = tolua_touserdata(a_SrcLuaState, i, NULL);
tolua_pushusertype(m_LuaState, ud, type); tolua_pushusertype(m_LuaState, ud, type);
break;
} }
default: default:
{ {