Updated Zandronum compiler

MapSet: should probably clamp parsed selection group, because you never know...
This commit is contained in:
MaxED 2014-07-17 09:01:56 +00:00
parent 8b429ca43b
commit dbe3fc9e1a
9 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
\*******************************************************************/
// Compiler settings
compiler = "skulltag_acc";
compiler = "zandronum_acc";
parameters = "-I \"%PT\" -I \"%PS\" %FI %FO";
resultlump = "BEHAVIOR";

View file

@ -1433,7 +1433,7 @@ namespace CodeImp.DoomBuilder.Map
int groupnum;
if(!int.TryParse(mp.Key as string, out groupnum)) continue;
int groupmask = 0x01 << groupnum;
int groupmask = 0x01 << General.Clamp(groupnum, 0, 10);
groupinfo = (IDictionary)mp.Value;
if(groupinfo.Contains("vertices"))