diff --git a/src/p_mobj.h b/src/p_mobj.h index 8811c0149..0f163236b 100644 --- a/src/p_mobj.h +++ b/src/p_mobj.h @@ -275,14 +275,17 @@ struct mobj_t // List: thinker links. thinker_t thinker; - mobjtype_t type; - const mobjinfo_t *info; // &mobjinfo[mobj->type] - // Info for drawing: position. fixed_t x, y, z; + // --- Please make sure you keep the fields up to this + // --- point in sync with degenmobj_t. + fixed_t old_x, old_y, old_z; // position interpolation fixed_t old_x2, old_y2, old_z2; + mobjtype_t type; + const mobjinfo_t *info; // &mobjinfo[mobj->type] + // More list: links in sector (if needed) mobj_t *snext; mobj_t **sprev; // killough 8/11/98: change to ptr-to-ptr @@ -428,14 +431,14 @@ struct precipmobj_t // List: thinker links. thinker_t thinker; - mobjtype_t type; - const mobjinfo_t *info; // &mobjinfo[mobj->type] - // Info for drawing: position. fixed_t x, y, z; fixed_t old_x, old_y, old_z; // position interpolation fixed_t old_x2, old_y2, old_z2; + mobjtype_t type; + const mobjinfo_t *info; // &mobjinfo[mobj->type] + // More list: links in sector (if needed) precipmobj_t *snext; precipmobj_t **sprev; // killough 8/11/98: change to ptr-to-ptr