mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- missed this in Blood
This commit is contained in:
parent
0ad571b72d
commit
b9568aa372
3 changed files with 4 additions and 4 deletions
|
@ -70,7 +70,7 @@ public:
|
|||
return time;
|
||||
}
|
||||
|
||||
vec3_t int_pos() const
|
||||
const vec3_t int_pos() const
|
||||
{
|
||||
return spr.pos;
|
||||
}
|
||||
|
|
|
@ -5343,7 +5343,7 @@ int MoveMissile(DBloodActor* actor)
|
|||
vz += ClipLow(ceilZ - top, 0);
|
||||
cliptype = 1;
|
||||
}
|
||||
actor->int_pos() = pos;
|
||||
actor->set_int_pos( pos);
|
||||
actor->add_int_z(vz);
|
||||
updatesector(pos.X, pos.Y, &pSector);
|
||||
if (pSector != nullptr && pSector != actor->sector())
|
||||
|
@ -6653,7 +6653,7 @@ bool actCheckRespawn(DBloodActor* actor)
|
|||
if (!(actor->spr.type >= kDudeBase && actor->spr.type < kDudeMax))
|
||||
{
|
||||
actor->spr.cstat &= ~CSTAT_SPRITE_BLOCK_ALL;
|
||||
actor->int_pos() = actor->basePoint;
|
||||
actor->set_int_pos(actor->basePoint);
|
||||
}
|
||||
evPostActor(actor, nRespawnTime, kCallbackRespawn);
|
||||
}
|
||||
|
|
|
@ -298,7 +298,7 @@ void Respawn(DBloodActor* actor, sectortype*) // 9
|
|||
if (actor->IsDudeActor())
|
||||
{
|
||||
int nType = actor->spr.type - kDudeBase;
|
||||
actor->int_pos() = actor->basePoint;
|
||||
actor->set_int_pos(actor->basePoint);
|
||||
actor->spr.cstat |= CSTAT_SPRITE_BLOOD_BIT1 | CSTAT_SPRITE_BLOCK_ALL;
|
||||
#ifdef NOONE_EXTENSIONS
|
||||
if (!gModernMap || actor->xspr.sysData2 <= 0) actor->xspr.health = dudeInfo[actor->spr.type - kDudeBase].startHealth << 4;
|
||||
|
|
Loading…
Reference in a new issue