modenum simplified/removed tutorial_demo.dmo
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7147 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+1
-1
@@ -122,7 +122,7 @@ loop d $NUM_WEAPONS [ const (at $WEAPONS $d) $d ]
|
||||
|
||||
loop r $NUM_MODES [ const (at $MODES $r) (format [votemap %1 %2 %3] $r "$arg1" "$arg2") ]
|
||||
|
||||
const modenum [ f = -1; loop i $NUM_MODES [ if (strcmp (at $MODES $i) $arg1) [ f = $i; break ] ]; result $f ]
|
||||
const modenum [ result (findlist $MODES $arg1) ]
|
||||
|
||||
// Mode/map-setting aliases.
|
||||
const votemap [ mode $arg1; map $arg2 $arg3 ]
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user