Eluna fix VS warning

This commit is contained in:
Rochet2
2014-08-09 21:36:48 +03:00
parent fcdbd297ae
commit 9790a2af56

View File

@@ -501,7 +501,7 @@ static uint32 CheckUnsignedRange(lua_State *L, int narg, uint32 max)
template<> bool Eluna::CHECKVAL<bool>(lua_State* L, int narg)
{
return lua_toboolean(L, narg);
return lua_toboolean(L, narg) != 0;
}
template<> float Eluna::CHECKVAL<float>(lua_State* L, int narg)
{