mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Fix not being able to play sounds from sector->soundorg
This commit is contained in:
parent
48d5af71fb
commit
d3b8f295b8
1 changed files with 9 additions and 6 deletions
15
src/p_mobj.h
15
src/p_mobj.h
|
|
@ -275,14 +275,17 @@ struct mobj_t
|
||||||
// List: thinker links.
|
// List: thinker links.
|
||||||
thinker_t thinker;
|
thinker_t thinker;
|
||||||
|
|
||||||
mobjtype_t type;
|
|
||||||
const mobjinfo_t *info; // &mobjinfo[mobj->type]
|
|
||||||
|
|
||||||
// Info for drawing: position.
|
// Info for drawing: position.
|
||||||
fixed_t x, y, z;
|
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_x, old_y, old_z; // position interpolation
|
||||||
fixed_t old_x2, old_y2, old_z2;
|
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)
|
// More list: links in sector (if needed)
|
||||||
mobj_t *snext;
|
mobj_t *snext;
|
||||||
mobj_t **sprev; // killough 8/11/98: change to ptr-to-ptr
|
mobj_t **sprev; // killough 8/11/98: change to ptr-to-ptr
|
||||||
|
|
@ -428,14 +431,14 @@ struct precipmobj_t
|
||||||
// List: thinker links.
|
// List: thinker links.
|
||||||
thinker_t thinker;
|
thinker_t thinker;
|
||||||
|
|
||||||
mobjtype_t type;
|
|
||||||
const mobjinfo_t *info; // &mobjinfo[mobj->type]
|
|
||||||
|
|
||||||
// Info for drawing: position.
|
// Info for drawing: position.
|
||||||
fixed_t x, y, z;
|
fixed_t x, y, z;
|
||||||
fixed_t old_x, old_y, old_z; // position interpolation
|
fixed_t old_x, old_y, old_z; // position interpolation
|
||||||
fixed_t old_x2, old_y2, old_z2;
|
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)
|
// More list: links in sector (if needed)
|
||||||
precipmobj_t *snext;
|
precipmobj_t *snext;
|
||||||
precipmobj_t **sprev; // killough 8/11/98: change to ptr-to-ptr
|
precipmobj_t **sprev; // killough 8/11/98: change to ptr-to-ptr
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue