mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-30 21:20:54 +00:00
Quick fix for another drawer lib function while I'm here, cough
This commit is contained in:
parent
04528eb3e6
commit
d1b89c9320
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ static int libd_getColormap(lua_State *L)
|
||||||
INT32 skinnum = TC_DEFAULT;
|
INT32 skinnum = TC_DEFAULT;
|
||||||
skincolors_t color = luaL_optinteger(L, 2, 0);
|
skincolors_t color = luaL_optinteger(L, 2, 0);
|
||||||
UINT8* colormap = NULL;
|
UINT8* colormap = NULL;
|
||||||
//HUDSAFE
|
HUDONLY
|
||||||
if (lua_isnoneornil(L, 1))
|
if (lua_isnoneornil(L, 1))
|
||||||
; // defaults to TC_DEFAULT
|
; // defaults to TC_DEFAULT
|
||||||
else if (lua_type(L, 1) == LUA_TNUMBER) // skin number
|
else if (lua_type(L, 1) == LUA_TNUMBER) // skin number
|
||||||
|
|
Loading…
Reference in a new issue