- fixed: Dehacked's 'Speed' value should be treated as signed when being assigned to a double variable.

This commit is contained in:
Christoph Oelckers 2016-07-21 12:01:06 +02:00
parent c428e376cd
commit fa22acca5d

View file

@ -921,7 +921,7 @@ static int PatchThing (int thingy)
{ {
if (stricmp (Line1, "Speed") == 0) if (stricmp (Line1, "Speed") == 0)
{ {
info->Speed = val; // handle fixed point later. info->Speed = (signed long)val; // handle fixed point later.
} }
else if (stricmp (Line1, "Width") == 0) else if (stricmp (Line1, "Width") == 0)
{ {