Quick fix for another drawer lib function while I'm here, cough

This commit is contained in:
Monster Iestyn 2016-01-31 22:52:02 +00:00
parent 04528eb3e6
commit d1b89c9320
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ static int libd_getColormap(lua_State *L)
INT32 skinnum = TC_DEFAULT;
skincolors_t color = luaL_optinteger(L, 2, 0);
UINT8* colormap = NULL;
//HUDSAFE
HUDONLY
if (lua_isnoneornil(L, 1))
; // defaults to TC_DEFAULT
else if (lua_type(L, 1) == LUA_TNUMBER) // skin number