diff --git a/polymer/eduke32/source/lunatic/con_lang.lua b/polymer/eduke32/source/lunatic/con_lang.lua index e2a30d97c..8c409b7bb 100644 --- a/polymer/eduke32/source/lunatic/con_lang.lua +++ b/polymer/eduke32/source/lunatic/con_lang.lua @@ -364,8 +364,8 @@ local ActorLabels = { yrepeat = SP".yrepeat", xoffset = SP".xoffset", yoffset = SP".yoffset", - sectnum = { SP".sectnum", SP".sectnum" }, -- set: for tsprite - statnum = { SP".statnum", SP".statnum" }, -- set: for tsprite + sectnum = { SP".sectnum", SP":changesect(%%s)" }, -- set: for tsprite + statnum = { SP".statnum" }, ang = SP".ang", owner = { SP".owner", SP":_set_owner(%%s)" }, xvel = SP".xvel", @@ -814,6 +814,7 @@ local UserdefLabels = { god = UDRO".god", idplayers = UDRO".idplayers", level_number = { UD".level_number", UD":set_level_number(%%s)" }, + levelstats = UD".levelstats", lockout = UDRO".lockout", m_player_skill = UDRO".m_player_skill", m_volume_number = UDRO".m_volume_number", @@ -823,10 +824,11 @@ local UserdefLabels = { multimode = { "1" }, noexits = UDRO".noexits", overhead_on = UD".overhead_on", + runkey_mode = UD".runkey_mode", show_level_text = UD".show_level_text", screen_size = { UD".screen_size", UD":set_screen_size(%%s)" }, screen_tilting = UD".screen_tilting", - showallmap = UDRO".showallmap", + showallmap = UD".showallmap", showweapons = UDRO".showweapons", statusbarscale = UDRO".statusbarscale", volume_number = { UD".volume_number", UD":set_volume_number(%%s)" }, diff --git a/polymer/eduke32/source/menus.c b/polymer/eduke32/source/menus.c index b127afcb4..89e8dd3c0 100644 --- a/polymer/eduke32/source/menus.c +++ b/polymer/eduke32/source/menus.c @@ -2882,12 +2882,12 @@ cheat_for_port_credits2: } break; case 6: - if (x==io) ud.levelstats = 1-ud.levelstats; + if (x==io) ud.levelstats = !ud.levelstats; modval(0,1,(int32_t *)&ud.levelstats,1,probey==io); mgametextpal(d,yy, ud.levelstats ? "Yes" : "No", MENUHIGHLIGHT(io), 0); break; case 7: - if (x==io) ud.runkey_mode = 1-ud.runkey_mode; + if (x==io) ud.runkey_mode = !ud.runkey_mode; modval(0,1,(int32_t *)&ud.runkey_mode,1,probey==io); mgametextpal(d,yy, ud.runkey_mode ? "No" : "Yes", MENUHIGHLIGHT(io), 0); break;