mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-24 05:34:18 +00:00
Update otis
This commit is contained in:
parent
7a3511d913
commit
e6544ec0e5
@ -56,9 +56,7 @@
|
||||
class COtis : public CBarney
|
||||
{
|
||||
public:
|
||||
#if 1
|
||||
void KeyValue(KeyValueData *pkvd);
|
||||
#endif
|
||||
|
||||
void Spawn(void);
|
||||
void Precache(void);
|
||||
@ -81,7 +79,7 @@ public:
|
||||
int bodystate;
|
||||
};
|
||||
|
||||
LINK_ENTITY_TO_CLASS(monster_otis, COtis);
|
||||
LINK_ENTITY_TO_CLASS(monster_otis, COtis)
|
||||
|
||||
//=========================================================
|
||||
// ALertSound - otis says "Freeze!"
|
||||
@ -217,7 +215,7 @@ void COtis::Precache()
|
||||
{
|
||||
PRECACHE_MODEL("models/otis.mdl");
|
||||
|
||||
PRECACHE_SOUND("barney/desert_eagle_fire.wav");
|
||||
PRECACHE_SOUND("weapons/desert_eagle_fire.wav");
|
||||
|
||||
PRECACHE_SOUND("barney/ba_pain1.wav");
|
||||
PRECACHE_SOUND("barney/ba_pain2.wav");
|
||||
@ -434,7 +432,7 @@ void CDeadOtis::KeyValue(KeyValueData *pkvd)
|
||||
CBaseMonster::KeyValue(pkvd);
|
||||
}
|
||||
|
||||
LINK_ENTITY_TO_CLASS(monster_otis_dead, CDeadOtis);
|
||||
LINK_ENTITY_TO_CLASS(monster_otis_dead, CDeadOtis)
|
||||
|
||||
//=========================================================
|
||||
// ********** DeadOtis SPAWN **********
|
||||
|
Loading…
x
Reference in New Issue
Block a user