mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed: The NO_CHANGE constant shouldn't have been floatified because this is an input value for action specials which will remain integers.
This commit is contained in:
parent
4345623e28
commit
f67243a40f
1 changed files with 2 additions and 2 deletions
|
@ -2552,7 +2552,7 @@ FUNC(LS_Line_AlignFloor)
|
||||||
FUNC(LS_Line_SetTextureOffset)
|
FUNC(LS_Line_SetTextureOffset)
|
||||||
// Line_SetTextureOffset (id, x, y, side, flags)
|
// Line_SetTextureOffset (id, x, y, side, flags)
|
||||||
{
|
{
|
||||||
const double NO_CHANGE = FLT_MAX;
|
const int NO_CHANGE = 32767 << 16;
|
||||||
double farg1 = arg1 / 65536.;
|
double farg1 = arg1 / 65536.;
|
||||||
double farg2 = arg2 / 65536.;
|
double farg2 = arg2 / 65536.;
|
||||||
|
|
||||||
|
@ -2607,7 +2607,7 @@ FUNC(LS_Line_SetTextureOffset)
|
||||||
FUNC(LS_Line_SetTextureScale)
|
FUNC(LS_Line_SetTextureScale)
|
||||||
// Line_SetTextureScale (id, x, y, side, flags)
|
// Line_SetTextureScale (id, x, y, side, flags)
|
||||||
{
|
{
|
||||||
const double NO_CHANGE = FLT_MAX;
|
const int NO_CHANGE = 32767 << 16;
|
||||||
double farg1 = arg1 / 65536.;
|
double farg1 = arg1 / 65536.;
|
||||||
double farg2 = arg2 / 65536.;
|
double farg2 = arg2 / 65536.;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue