diff --git a/src/doomdata.h b/src/doomdata.h index 7d73ae231..d67831b3d 100644 --- a/src/doomdata.h +++ b/src/doomdata.h @@ -175,7 +175,7 @@ typedef struct typedef struct { INT16 x, y; - INT16 angle; + INT16 angle, pitch, roll; UINT16 type; UINT16 options; INT16 z; diff --git a/src/p_mobj.c b/src/p_mobj.c index e4d68ec8b..c9816f230 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -11899,6 +11899,7 @@ You should think about modifying the deathmatch starts to take full advantage of mobj = P_SpawnMobj(x, y, z, i); P_SetScale(mobj, mthing->scale); mobj->destscale = mthing->scale; + mobj->rollangle = FixedAngle(mthing->roll*FRACUNIT); mobj->spawnpoint = mthing; #ifdef HAVE_BLUA diff --git a/src/p_setup.c b/src/p_setup.c index 9c3ea762d..fa68d0cdc 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -1236,12 +1236,10 @@ static void TextmapThing(UINT32 i, char *param) mapthings[i].z = atol(M_GetToken(NULL)); else if (fastcmp(param, "angle")) mapthings[i].angle = atol(M_GetToken(NULL)); - #ifdef ADVUDMF else if (fastcmp(param, "pitch")) mapthings[i].pitch = atol(M_GetToken(NULL)); else if (fastcmp(param, "roll")) mapthings[i].roll = atol(M_GetToken(NULL)); - #endif else if (fastcmp(param, "type")) mapthings[i].type = atol(M_GetToken(NULL)); else if (fastcmp(param, "scale") || fastcmp(param, "scalex"))