diff --git a/src/gs-entbase/client/env_glow.cpp b/src/gs-entbase/client/env_glow.cpp index 2ed83a7b..12f47912 100644 --- a/src/gs-entbase/client/env_glow.cpp +++ b/src/gs-entbase/client/env_glow.cpp @@ -43,7 +43,6 @@ env_glow::predraw(void) { vector forg; vector fsize; - float falpha; vector vecPlayer; int s = (float)getproperty(VF_ACTIVESEAT); @@ -135,7 +134,7 @@ env_glow::env_glow(void) m_flMaxAlpha = 1.0f; m_vecColor = [1,1,1]; drawmask = MASK_ENGINE; - setorigin(this, [0,0,0], [0,0,0]); + setsize(this, [0,0,0], [0,0,0]); setorigin(this, origin); Init(); } diff --git a/src/gs-entbase/server/env_hudhint.cpp b/src/gs-entbase/server/env_hudhint.cpp index 8ec16452..200c657e 100644 --- a/src/gs-entbase/server/env_hudhint.cpp +++ b/src/gs-entbase/server/env_hudhint.cpp @@ -68,12 +68,12 @@ env_hudhint::env_hudhint(void) } void -env_hudhint_send(entity eActivator, string strMessage, int iFlags) +env_hudhint_send(entity eAct, string strMessage, int iFlags) { WriteByte(MSG_MULTICAST, SVC_CGAMEPACKET); WriteByte(MSG_MULTICAST, EV_HUDHINT); WriteString(MSG_MULTICAST, strMessage); - msg_entity = eActivator; + msg_entity = eAct; if (iFlags & EHH_ALLPLAYERS) multicast([0,0,0], MULTICAST_ALL);