mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-15 19:22:21 +00:00
Merge branch 'udmf-scale-by-mobjscale' into 'master'
Multiply thing scale by mobjscale See merge request KartKrew/Kart!402
This commit is contained in:
commit
3ebedeaa08
1 changed files with 1 additions and 1 deletions
|
|
@ -1675,7 +1675,7 @@ static void ParseTextmapThingParameter(UINT32 i, char *param, char *val)
|
|||
else if (fastcmp(param, "type"))
|
||||
mapthings[i].type = atol(val);
|
||||
else if (fastcmp(param, "scale") || fastcmp(param, "scalex") || fastcmp(param, "scaley"))
|
||||
mapthings[i].scale = FLOAT_TO_FIXED(atof(val));
|
||||
mapthings[i].scale = FixedMul(mapobjectscale, FLOAT_TO_FIXED(atof(val)));
|
||||
// Flags
|
||||
else if (fastcmp(param, "extra") && fastcmp("true", val))
|
||||
mapthings[i].options |= MTF_EXTRA;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue