From caca71ff2f83acef14d066f6fa4da4633bf29436 Mon Sep 17 00:00:00 2001 From: Bukz Date: Sat, 10 Dec 2011 23:50:17 +0000 Subject: [PATCH] Disable the grid for /cleanshot while in editmode. git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6731 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/scripts.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/scripts.cfg b/config/scripts.cfg index 81c11662..430d52c2 100644 --- a/config/scripts.cfg +++ b/config/scripts.cfg @@ -356,8 +356,8 @@ const strins [ ] // cleanshot - Take a "clean" screenshot with no HUD items. -const cs_sets "clockdisplay crosshairsize hidecompass hideconsole hidectfhud hidedamageindicator hidehudequipment hidehudmsgs hideradar hidespecthud hideteam hidevote hudgun spechudgun showstats showtargetname" -const cs_newsets "0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 0" +const cs_sets "clockdisplay crosshairsize hidecompass hideconsole hidectfhud hidedamageindicator hidehudequipment hidehudmsgs hideradar hidespecthud hideteam hidevote hudgun spechudgun showstats showtargetname showgrid" +const cs_newsets "0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0" const disablehud [ storesets $cs_sets tmp_old_sets; loop csl (listlen $cs_sets) [ (at $cs_sets $csl) (at $cs_newsets $csl) ]; if $editing [ seteditshow 0 ] ] const enablehud [ if (checkalias tmp_old_sets) [ loop ros (listlen $cs_sets) [ (at $cs_sets $ros) (at $tmp_old_sets $ros) ]; if $editing [ seteditshow ] ] ]