Clean up some warnings.

This commit is contained in:
Marco Cawthorne 2022-02-01 13:38:01 -08:00
parent 8edb6984cf
commit ea5ae651df
Signed by: eukara
GPG key ID: C196CD8BA993248A
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ HLMultiplayerRules::PlayerDeath(base_player pl)
if (pl.health < -50) {
FX_GibHuman(pl.origin);
} else {
FX_Corpse_Spawn(pl, ANIM_DIESIMPLE);
FX_Corpse_Spawn((player)pl, ANIM_DIESIMPLE);
}
/* now let's make the real client invisible */

View file

@ -134,7 +134,7 @@ FX_GaussBeam(vector vecPos, vector vecAngle, int numBeams, entity eOwner)
vector vecSrc;
vector vecEndPos;
vector vecDir;
vector vecFirstImpact;
vector vecFirstImpact = [0,0,0];
int totalBeams = numBeams;
makevectors(vecAngle);