mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 22:01:45 +00:00
fixed crash when undo is created after changing UDMF string enumeration types
This commit is contained in:
parent
21febe7ded
commit
e962759038
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,6 @@ namespace CodeImp.DoomBuilder.Map
|
|||
case UniversalType.Color:
|
||||
case UniversalType.EnumBits:
|
||||
case UniversalType.EnumOption:
|
||||
case UniversalType.EnumStrings:
|
||||
case UniversalType.Integer:
|
||||
case UniversalType.LinedefTag:
|
||||
case UniversalType.LinedefType:
|
||||
|
@ -151,6 +150,7 @@ namespace CodeImp.DoomBuilder.Map
|
|||
case UniversalType.Flat:
|
||||
case UniversalType.String:
|
||||
case UniversalType.Texture:
|
||||
case UniversalType.EnumStrings:
|
||||
{
|
||||
string v = (string)value;
|
||||
s.rwString(ref v);
|
||||
|
|
Loading…
Reference in a new issue