Skip to content

Commit

Permalink
Remove redundant precache in CDeadMonster spawn code
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeSlave committed Jan 4, 2025
1 parent 2ec3814 commit d4263ee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dlls/monsters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4500,7 +4500,6 @@ void CDeadMonster::Precache()
void CDeadMonster::SpawnHelper(const char* defaultModel, int bloodColor, int health)
{
Precache();
PrecacheMyModel(defaultModel);
SetMyModel(defaultModel);

pev->effects &= EF_INVLIGHT;
Expand Down

0 comments on commit d4263ee

Please sign in to comment.