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:
+1
-1
@@ -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)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user