mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-17 01:22:18 +00:00
Fixed UDMF integral vertex to float vertex conversion when loading UDMF map with integral vertices
This commit is contained in:
parent
d477f0a7bf
commit
ab0f1a21ad
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue