fixed crash when undo is created after changing UDMF string enumeration types

This commit is contained in:
codeimp 2009-01-15 14:04:13 +00:00
parent 21febe7ded
commit e962759038

View file

@ -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);