mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-21 03:11:40 +00:00
fixed potential problem with copy/paste translation info
This commit is contained in:
parent
4897f2c9cc
commit
fab0611501
3 changed files with 2 additions and 4 deletions
|
@ -606,7 +606,6 @@ linedefflagstranslation
|
|||
4096 = "playerpush";
|
||||
5120 = "missilecross";
|
||||
6144 = "passuse";
|
||||
7168 = "impact,missilecross";
|
||||
8192 = "monsteractivate";
|
||||
16384 = "blockplayers";
|
||||
32768 = "blockeverything";
|
||||
|
|
|
@ -604,7 +604,6 @@ linedefflagstranslation
|
|||
4096 = "playerpush";
|
||||
5120 = "missilecross";
|
||||
6144 = "passuse";
|
||||
7168 = "impact,missilecross";
|
||||
8192 = "monsteractivate";
|
||||
16384 = "blockplayers";
|
||||
32768 = "blockeverything";
|
||||
|
|
|
@ -356,13 +356,13 @@ namespace CodeImp.DoomBuilder.Map
|
|||
// Add fields and remove bits
|
||||
bits &= ~f.Flag;
|
||||
for(int i = 0; i < f.Fields.Count; i++)
|
||||
flags.Add(f.Fields[i], f.FieldValues[i]);
|
||||
flags[f.Fields[i]] = f.FieldValues[i];
|
||||
}
|
||||
else
|
||||
{
|
||||
// Add fields with inverted value
|
||||
for(int i = 0; i < f.Fields.Count; i++)
|
||||
flags.Add(f.Fields[i], !f.FieldValues[i]);
|
||||
flags[f.Fields[i]] = !f.FieldValues[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue