diff --git a/src/p_mobj.c b/src/p_mobj.c index 0757555d6..2881cd980 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -9624,11 +9624,6 @@ mobj_t *P_SpawnMobj(fixed_t x, fixed_t y, fixed_t z, mobjtype_t type) mobj->radius = info->radius; mobj->height = info->height; mobj->flags = info->flags; - mobj->sloperoll = 0; - mobj->slopepitch = 0; - - mobj->pitch_sprite = 0; - mobj->roll_sprite = 0; mobj->health = info->spawnhealth; @@ -9666,12 +9661,6 @@ mobj_t *P_SpawnMobj(fixed_t x, fixed_t y, fixed_t z, mobjtype_t type) mobj->realxscale = mobj->realyscale = mobj->scale; mobj->spritexscale = mobj->realxscale; mobj->spriteyscale = mobj->realyscale; - mobj->realxoffset = mobj->realyoffset = 0; - mobj->spritexoffset = mobj->realxoffset; - mobj->spriteyoffset = mobj->realyoffset; - - // Funni slam sound when landing - mobj->slamsoundtimer = 0; // set subsector and/or block links P_SetThingPosition(mobj); @@ -10127,7 +10116,6 @@ mobj_t *P_SpawnShadowMobj(mobj_t * caster) // Sprite rendering mobj->spritexscale = mobj->spriteyscale = mobj->scale; - mobj->spritexoffset = mobj->spriteyoffset = 0; // set subsector and/or block links P_SetThingPosition(mobj); diff --git a/src/p_mobj.h b/src/p_mobj.h index b5e2a23b1..e0257bc0a 100644 --- a/src/p_mobj.h +++ b/src/p_mobj.h @@ -407,7 +407,7 @@ typedef struct mobj_s boolean colorized; // Whether the mobj uses the rainbow colormap boolean mirrored; // The object's rotations will be mirrored left to right, e.g., see frame AL from the right and AR from the left - tic_t slamsoundtimer; + tic_t slamsoundtimer; // Funni slam sound when landing // saltyhop! hardcode edition boolean salty_ready;