mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-31 12:50:52 +00:00
Fixed some more places where values given to new UniValue were cast to float instead of double
This commit is contained in:
parent
10ceef6715
commit
c164139d5e
3 changed files with 6 additions and 6 deletions
|
@ -402,13 +402,13 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
protected override void SetTextureOffsetX(int x)
|
||||
{
|
||||
Sidedef.Fields.BeforeFieldsChange();
|
||||
Sidedef.Fields["offsetx_mid"] = new UniValue(UniversalType.Float, (float)x);
|
||||
Sidedef.Fields["offsetx_mid"] = new UniValue(UniversalType.Float, (double)x);
|
||||
}
|
||||
|
||||
protected override void SetTextureOffsetY(int y)
|
||||
{
|
||||
Sidedef.Fields.BeforeFieldsChange();
|
||||
Sidedef.Fields["offsety_mid"] = new UniValue(UniversalType.Float, (float)y);
|
||||
Sidedef.Fields["offsety_mid"] = new UniValue(UniversalType.Float, (double)y);
|
||||
}
|
||||
|
||||
protected override void MoveTextureOffset(int offsetx, int offsety)
|
||||
|
|
|
@ -354,13 +354,13 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
protected override void SetTextureOffsetX(int x)
|
||||
{
|
||||
Sidedef.Fields.BeforeFieldsChange();
|
||||
Sidedef.Fields["offsetx_mid"] = new UniValue(UniversalType.Float, (float)x);
|
||||
Sidedef.Fields["offsetx_mid"] = new UniValue(UniversalType.Float, (double)x);
|
||||
}
|
||||
|
||||
protected override void SetTextureOffsetY(int y)
|
||||
{
|
||||
Sidedef.Fields.BeforeFieldsChange();
|
||||
Sidedef.Fields["offsety_mid"] = new UniValue(UniversalType.Float, (float)y);
|
||||
Sidedef.Fields["offsety_mid"] = new UniValue(UniversalType.Float, (double)y);
|
||||
}
|
||||
|
||||
protected override void MoveTextureOffset(int offsetx, int offsety)
|
||||
|
|
|
@ -255,13 +255,13 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
protected override void SetTextureOffsetX(int x)
|
||||
{
|
||||
Sidedef.Fields.BeforeFieldsChange();
|
||||
Sidedef.Fields["offsetx_top"] = new UniValue(UniversalType.Float, (float)x);
|
||||
Sidedef.Fields["offsetx_top"] = new UniValue(UniversalType.Float, (double)x);
|
||||
}
|
||||
|
||||
protected override void SetTextureOffsetY(int y)
|
||||
{
|
||||
Sidedef.Fields.BeforeFieldsChange();
|
||||
Sidedef.Fields["offsety_top"] = new UniValue(UniversalType.Float, (float)y);
|
||||
Sidedef.Fields["offsety_top"] = new UniValue(UniversalType.Float, (double)y);
|
||||
}
|
||||
|
||||
protected override void MoveTextureOffset(int offsetx, int offsety)
|
||||
|
|
Loading…
Reference in a new issue