Skip to content

Commit

Permalink
Egon flare sprite draws everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
sabianroberts committed Oct 20, 2024
1 parent 6534d02 commit 6a11869
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions binary/dlls/egon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ void CEgon::Fire(const Vector& vecOrigSrc, const Vector& vecDir)
if (pEntity == NULL)
return;

if (g_pGameRules->IsMultiplayer())
/*if (g_pGameRules->IsMultiplayer())
{
if (m_pSprite && pEntity->pev->takedamage)
{
Expand All @@ -276,7 +276,7 @@ void CEgon::Fire(const Vector& vecOrigSrc, const Vector& vecDir)
{
m_pSprite->pev->effects |= EF_NODRAW;
}
}
}*/


#endif
Expand Down Expand Up @@ -440,8 +440,8 @@ void CEgon::CreateEffect(void)
m_pSprite->pev->scale = 1.0;
m_pSprite->SetTransparency(kRenderGlow, 255, 255, 255, 255, kRenderFxNoDissipation);
m_pSprite->pev->spawnflags |= SF_SPRITE_TEMPORARY;
m_pSprite->pev->flags |= FL_SKIPLOCALHOST;
m_pSprite->pev->owner = m_pPlayer->edict();
//m_pSprite->pev->flags |= FL_SKIPLOCALHOST;
//m_pSprite->pev->owner = m_pPlayer->edict();

if (m_fireMode == FIRE_WIDE)
{
Expand Down

0 comments on commit 6a11869

Please sign in to comment.