Reallow P_MobjSpawn to change the scale of objects spawned from mapthings

This commit is contained in:
lachwright 2020-11-15 02:53:10 +11:00
parent 4fcca22343
commit a65fc9f622
1 changed files with 2 additions and 2 deletions

View File

@ -13077,8 +13077,8 @@ static mobj_t *P_SpawnMobjFromMapThing(mapthing_t *mthing, fixed_t x, fixed_t y,
mobj = P_SpawnMobj(x, y, z, i);
mobj->spawnpoint = mthing;
P_SetScale(mobj, mthing->scale);
mobj->destscale = mthing->scale;
P_SetScale(mobj, FixedMul(mobj->scale, mthing->scale));
mobj->destscale = FixedMul(mobj->destscale, mthing->scale);
if (!P_SetupSpawnedMapThing(mthing, mobj, &doangle))
return mobj;