mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- added temp_pos to DDukeActor
Same reasons as for temp_angle apply.
This commit is contained in:
parent
cceecb4ab6
commit
bdeb056727
3 changed files with 3 additions and 0 deletions
|
@ -315,6 +315,7 @@ void DDukeActor::Serialize(FSerializer& arc)
|
|||
.Array("temp_data", temp_data, 6)
|
||||
.Array("temo_wall", temp_walls, 2)
|
||||
("temp_angle", temp_angle)
|
||||
("temp_pos", temp_pos)
|
||||
("temp_sect", temp_sect)
|
||||
("uservars", uservars)
|
||||
("flags1", flags1)
|
||||
|
|
|
@ -161,6 +161,7 @@ bool initspriteforspawn(DDukeActor* act)
|
|||
act->temp_data[0] = act->temp_data[1] = act->temp_data[2] = act->temp_data[3] = act->temp_data[4] = act->temp_data[5] = 0;
|
||||
act->temp_actor = nullptr;
|
||||
act->temp_angle = nullAngle;
|
||||
act->temp_pos = DVector3(0, 0, 0);
|
||||
|
||||
if (wallswitchcheck(act) && (act->spr.cstat & CSTAT_SPRITE_ALIGNMENT_WALL))
|
||||
{
|
||||
|
|
|
@ -63,6 +63,7 @@ public:
|
|||
walltype* temp_walls[2]; // SE20 + SE128
|
||||
sectortype* temp_sect, *actorstayput;
|
||||
DAngle temp_angle; // only used by TRIPBOMB
|
||||
DVector3 temp_pos; // used by TRIPBOMB and SE_26.
|
||||
|
||||
TObjPtr<DDukeActor*> temp_actor, seek_actor;
|
||||
|
||||
|
|
Loading…
Reference in a new issue