mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- make all actor pointers in the player struct regular pointers.
This commit is contained in:
parent
de3e66016c
commit
e3ce0da111
3 changed files with 3 additions and 3 deletions
|
@ -80,7 +80,7 @@ extern POSTURE gPostureDefaults[kModeMax][kPostureMax];
|
|||
|
||||
struct PLAYER
|
||||
{
|
||||
TObjPtr<DBloodActor*> actor;
|
||||
DBloodActor* actor;
|
||||
DUDEINFO* pDudeInfo;
|
||||
InputPacket input;
|
||||
PlayerHorizon horizon;
|
||||
|
|
|
@ -204,7 +204,7 @@ void QAV::Draw(double x, double y, int ticks, int stat, int shade, int palnum, b
|
|||
|
||||
void QAV::Play(int start, int end, int nCallback, PLAYER *pData)
|
||||
{
|
||||
auto pActor = pData ? pData->actor.Get() : nullptr;
|
||||
auto pActor = pData ? pData->actor : nullptr;
|
||||
assert(ticksPerFrame > 0);
|
||||
int frame;
|
||||
int ticks;
|
||||
|
|
|
@ -227,7 +227,7 @@ struct player_struct
|
|||
sectortype* cursector;
|
||||
sectortype* one_parallax_sectnum; // wall + sector references. Make them pointers later?
|
||||
walltype* access_wall;
|
||||
TObjPtr<DDukeActor*> actor;
|
||||
DDukeActor* actor;
|
||||
TObjPtr<DDukeActor*> actorsqu, wackedbyactor, on_crane, holoduke_on, somethingonplayer, access_spritenum, dummyplayersprite, newOwner;
|
||||
|
||||
short last_extra, subweapon;
|
||||
|
|
Loading…
Reference in a new issue