diff --git a/src/p_mobj.c b/src/p_mobj.c index f4f1512ec..fa4d2c099 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -9426,11 +9426,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; @@ -9468,12 +9463,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); @@ -9929,7 +9918,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 46c7f6fae..0b380786b 100644 --- a/src/p_mobj.h +++ b/src/p_mobj.h @@ -397,7 +397,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;