mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-28 20:20:43 +00:00
Merge remote-tracking branch 'upstream/next' into kart-luatextures-backport
This commit is contained in:
commit
97639848e1
2 changed files with 4 additions and 23 deletions
|
@ -1682,25 +1682,6 @@ static int lib_rSetPlayerSkin(lua_State *L)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// R_DATA
|
|
||||||
////////////
|
|
||||||
|
|
||||||
static int lib_rCheckTextureNumForName(lua_State *L)
|
|
||||||
{
|
|
||||||
const char *name = luaL_checkstring(L, 1);
|
|
||||||
//HUDSAFE
|
|
||||||
lua_pushinteger(L, R_CheckTextureNumForName(name));
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int lib_rTextureNumForName(lua_State *L)
|
|
||||||
{
|
|
||||||
const char *name = luaL_checkstring(L, 1);
|
|
||||||
//HUDSAFE
|
|
||||||
lua_pushinteger(L, R_TextureNumForName(name));
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// S_SOUND
|
// S_SOUND
|
||||||
////////////
|
////////////
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue