From 3d45e1915c8cefbf702e06c601403ccb8f0d688a Mon Sep 17 00:00:00 2001 From: Bukz Date: Fri, 1 Apr 2011 01:09:36 +0000 Subject: [PATCH] "cannot redefine builtin scopesens with an alias" error fix git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6186 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/defaults.cfg | 2 +- config/scripts.cfg | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/config/defaults.cfg b/config/defaults.cfg index 655b3e8d..48d84d08 100644 --- a/config/defaults.cfg +++ b/config/defaults.cfg @@ -9,7 +9,7 @@ skin 0 // Change your look. autoreload 1 // Reload the guns automatically by default. setfont default // Choose your font -alias scopesens [ *f $sensitivity $scopesensscale ] +// alias scopesens [ *f $sensitivity $scopesensscale ] // scopesens is now hardcoded // Bukz //bind MOUSE2 [ zoom 1; onrelease [ zoom 0 ] ] diff --git a/config/scripts.cfg b/config/scripts.cfg index 33291c26..0a0f9980 100644 --- a/config/scripts.cfg +++ b/config/scripts.cfg @@ -164,8 +164,6 @@ altaction_5 = [ setscope 1; onrelease [ setscope 0 ] ] // Sniper altaction_7 = [ setburst 1; onrelease [ setburst 0 ] ] // Combat pistol // altaction_8 = [ attack ] // Grenade // with this comment, you throw the nade and the nade is unselected : Brahma -// With or without using "=" to define aliases for the script below, it will throw a "cannot redefine builtin scopesens with an alias" -// error on the first run (fresh saved.cfg); on future runs, this error goes away...wtf? // Bukz oldsens = $sensitivity zoom = [