mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix mobjscale
This commit is contained in:
parent
08b76dd52f
commit
8ec67e1ff9
1 changed files with 3 additions and 2 deletions
|
|
@ -11558,12 +11558,13 @@ static mobj_t *P_SpawnMobjFromMapThing(mapthing_t *mthing, fixed_t x, fixed_t y,
|
|||
{
|
||||
mobj_t *mobj = NULL;
|
||||
boolean doangle = true;
|
||||
fixed_t full_scale = FixedMul(mthing->scale, mapobjectscale);
|
||||
|
||||
mobj = P_SpawnMobj(x, y, z, i);
|
||||
mobj->spawnpoint = mthing;
|
||||
|
||||
P_SetScale(mobj, mthing->scale);
|
||||
mobj->destscale = mthing->scale;
|
||||
P_SetScale(mobj, full_scale);
|
||||
mobj->destscale = full_scale;
|
||||
|
||||
if (!P_SetupSpawnedMapThing(mthing, mobj, &doangle))
|
||||
return mobj;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue