mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-12-11 21:00:53 +00:00
No more BASETHRESHOLD.
This commit is contained in:
parent
75100d76fb
commit
c5f433d80a
2 changed files with 3 additions and 2 deletions
|
@ -85,7 +85,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_Beacon)
|
||||||
self->flags &= ~MF_SPECIAL;
|
self->flags &= ~MF_SPECIAL;
|
||||||
static_cast<AInventory *>(self)->DropTime = 0;
|
static_cast<AInventory *>(self)->DropTime = 0;
|
||||||
// Set up the new rebel.
|
// Set up the new rebel.
|
||||||
rebel->threshold = BASETHRESHOLD;
|
rebel->threshold = rebel->DefThreshold;
|
||||||
rebel->target = NULL;
|
rebel->target = NULL;
|
||||||
rebel->flags4 |= MF4_INCOMBAT;
|
rebel->flags4 |= MF4_INCOMBAT;
|
||||||
rebel->LastHeard = owner; // Make sure the rebels look for targets
|
rebel->LastHeard = owner; // Make sure the rebels look for targets
|
||||||
|
|
|
@ -87,7 +87,8 @@ inline int GetSafeBlockY(long long blocky)
|
||||||
#define PLAYERMISSILERANGE (8192*FRACUNIT) // [RH] New MISSILERANGE for players
|
#define PLAYERMISSILERANGE (8192*FRACUNIT) // [RH] New MISSILERANGE for players
|
||||||
|
|
||||||
// follow a player exlusively for 3 seconds
|
// follow a player exlusively for 3 seconds
|
||||||
#define BASETHRESHOLD 100
|
// No longer used.
|
||||||
|
// #define BASETHRESHOLD 100
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue