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
This commit is contained in:
flowtron
2008-08-03 20:45:29 +00:00
parent 1cc62613ee
commit 183af60a49
+1 -1
View File
@@ -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)
]