From 183af60a49d83fd38942a1be49e097cecdd876f6 Mon Sep 17 00:00:00 2001 From: flowtron Date: Sun, 3 Aug 2008 20:45:29 +0000 Subject: [PATCH] allow 'loadnotexture [P]' inside map-cfg git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2275 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/scontext.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/scontext.cfg b/config/scontext.cfg index 205c9b1d..bc95932c 100644 --- a/config/scontext.cfg +++ b/config/scontext.cfg @@ -8,7 +8,7 @@ alias context_prompt 2 // command prompt alias context_mapcfg 3 // map configs, we don't trust them // set allowed commands for the map config context -alias mapcfgidents [ alias loadsky mapmodelreset mapmodel texturereset texture fog fogcolour mapsound watercolour ] +alias mapcfgidents [ alias loadnotexture loadsky mapmodelreset mapmodel texturereset texture fog fogcolour mapsound watercolour ] loop i (listlen $mapcfgidents) [ scriptcontext $context_mapcfg (at $mapcfgidents $i) ]