mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-24 05:34:18 +00:00
Fix blood color and gibs type of some dead monsters (#11)
This commit is contained in:
parent
bec7af2029
commit
da8fc767fd
@ -29,7 +29,7 @@ class CDeadHoundeye : public CBaseMonster
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void Spawn(void);
|
void Spawn(void);
|
||||||
int Classify(void) { return CLASS_HUMAN_MILITARY; }
|
int Classify(void) { return CLASS_ALIEN_MONSTER; }
|
||||||
|
|
||||||
void KeyValue(KeyValueData *pkvd);
|
void KeyValue(KeyValueData *pkvd);
|
||||||
|
|
||||||
@ -64,7 +64,7 @@ void CDeadHoundeye::Spawn(void)
|
|||||||
pev->yaw_speed = 8;
|
pev->yaw_speed = 8;
|
||||||
pev->sequence = 0;
|
pev->sequence = 0;
|
||||||
pev->body = 1;
|
pev->body = 1;
|
||||||
m_bloodColor = BLOOD_COLOR_RED;
|
m_bloodColor = BLOOD_COLOR_GREEN;
|
||||||
|
|
||||||
pev->sequence = LookupSequence(m_szPoses[m_iPose]);
|
pev->sequence = LookupSequence(m_szPoses[m_iPose]);
|
||||||
|
|
||||||
@ -79,4 +79,4 @@ void CDeadHoundeye::Spawn(void)
|
|||||||
pev->health = 8;
|
pev->health = 8;
|
||||||
|
|
||||||
MonsterInitDead();
|
MonsterInitDead();
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,7 @@ void CDeadISlave::Spawn(void)
|
|||||||
pev->yaw_speed = 8;
|
pev->yaw_speed = 8;
|
||||||
pev->sequence = 0;
|
pev->sequence = 0;
|
||||||
pev->body = 1;
|
pev->body = 1;
|
||||||
m_bloodColor = BLOOD_COLOR_RED;
|
m_bloodColor = BLOOD_COLOR_GREEN;
|
||||||
|
|
||||||
pev->sequence = LookupSequence(m_szPoses[m_iPose]);
|
pev->sequence = LookupSequence(m_szPoses[m_iPose]);
|
||||||
|
|
||||||
@ -79,4 +79,4 @@ void CDeadISlave::Spawn(void)
|
|||||||
pev->health = 8;
|
pev->health = 8;
|
||||||
|
|
||||||
MonsterInitDead();
|
MonsterInitDead();
|
||||||
}
|
}
|
||||||
|
@ -230,7 +230,7 @@ class CDeadZGrunt : public CBaseMonster
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void Spawn(void);
|
void Spawn(void);
|
||||||
int Classify(void) { return CLASS_HUMAN_MILITARY; }
|
int Classify(void) { return CLASS_ALIEN_MONSTER; }
|
||||||
|
|
||||||
void KeyValue(KeyValueData *pkvd);
|
void KeyValue(KeyValueData *pkvd);
|
||||||
|
|
||||||
@ -265,7 +265,7 @@ void CDeadZGrunt::Spawn(void)
|
|||||||
pev->yaw_speed = 8;
|
pev->yaw_speed = 8;
|
||||||
pev->sequence = 0;
|
pev->sequence = 0;
|
||||||
pev->body = 1;
|
pev->body = 1;
|
||||||
m_bloodColor = BLOOD_COLOR_RED;
|
m_bloodColor = BLOOD_COLOR_GREEN;
|
||||||
|
|
||||||
pev->sequence = LookupSequence(m_szPoses[m_iPose]);
|
pev->sequence = LookupSequence(m_szPoses[m_iPose]);
|
||||||
|
|
||||||
@ -280,4 +280,4 @@ void CDeadZGrunt::Spawn(void)
|
|||||||
pev->health = 8;
|
pev->health = 8;
|
||||||
|
|
||||||
MonsterInitDead();
|
MonsterInitDead();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user