Fixed UDMF integral vertex to float vertex conversion when loading UDMF map with integral vertices

This commit is contained in:
codeimp 2009-04-26 07:34:19 +00:00
parent d477f0a7bf
commit ab0f1a21ad

View file

@ -404,7 +404,8 @@ namespace CodeImp.DoomBuilder.IO
(e.Value.GetType() == typeof(int)))
{
// Make it a float
result = (T)e.Value;
object fvalue = (float)(int)e.Value;
result = (T)fvalue;
}
else
{