- 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:
Christoph Oelckers 2016-07-27 08:23:00 +02:00
parent 4345623e28
commit f67243a40f
1 changed files with 2 additions and 2 deletions

View File

@ -2552,7 +2552,7 @@ FUNC(LS_Line_AlignFloor)
FUNC(LS_Line_SetTextureOffset)
// Line_SetTextureOffset (id, x, y, side, flags)
{
const double NO_CHANGE = FLT_MAX;
const int NO_CHANGE = 32767 << 16;
double farg1 = arg1 / 65536.;
double farg2 = arg2 / 65536.;
@ -2607,7 +2607,7 @@ FUNC(LS_Line_SetTextureOffset)
FUNC(LS_Line_SetTextureScale)
// Line_SetTextureScale (id, x, y, side, flags)
{
const double NO_CHANGE = FLT_MAX;
const int NO_CHANGE = 32767 << 16;
double farg1 = arg1 / 65536.;
double farg2 = arg2 / 65536.;