Fix some typos.

This commit is contained in:
Marco Cawthorne 2020-10-24 05:24:40 +02:00
parent 24a753edce
commit ed4f972a19
2 changed files with 3 additions and 4 deletions

View file

@ -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();
}

View file

@ -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);