CL_ParseMuzzleFlash* zu CL_AddMuzzleFlash* umbenannt

This commit is contained in:
Yamagi Burmeister 2010-06-22 15:38:09 +00:00
parent 7841c910ca
commit 0c961f00bf
3 changed files with 9 additions and 9 deletions

View file

@ -38,7 +38,7 @@ extern struct model_s *cl_mod_flash;
extern cparticle_t *active_particles, *free_particles;
void CL_ParseMuzzleFlash (void) {
void CL_AddMuzzleFlash (void) {
vec3_t fv, rv;
cdlight_t *dl;
int i, weapon;
@ -50,7 +50,7 @@ void CL_ParseMuzzleFlash (void) {
i = MSG_ReadShort (&net_message);
if (i < 1 || i >= MAX_EDICTS)
Com_Error (ERR_DROP, "CL_ParseMuzzleFlash: bad entity");
Com_Error (ERR_DROP, "CL_AddMuzzleFlash: bad entity");
weapon = MSG_ReadByte (&net_message);
silenced = weapon & MZ_SILENCED;
@ -271,7 +271,7 @@ void CL_ParseMuzzleFlash (void) {
}
}
void CL_ParseMuzzleFlash2 (void) {
void CL_AddMuzzleFlash2 (void) {
int ent;
vec3_t origin;
unsigned flash_number;
@ -282,12 +282,12 @@ void CL_ParseMuzzleFlash2 (void) {
ent = MSG_ReadShort (&net_message);
if (ent < 1 || ent >= MAX_EDICTS)
Com_Error (ERR_DROP, "CL_ParseMuzzleFlash2: bad entity");
Com_Error (ERR_DROP, "CL_AddMuzzleFlash2: bad entity");
flash_number = MSG_ReadByte (&net_message);
if (flash_number > 210)
Com_Error (ERR_DROP, "CL_ParseMuzzleFlash2: bad offset");
Com_Error (ERR_DROP, "CL_AddMuzzleFlash2: bad offset");
/* locate the origin */
AngleVectors (cl_entities[ent].current.angles, forward, right, NULL);

View file

@ -1036,11 +1036,11 @@ void CL_ParseServerMessage (void) {
break;
case svc_muzzleflash:
CL_ParseMuzzleFlash ();
CL_AddMuzzleFlash ();
break;
case svc_muzzleflash2:
CL_ParseMuzzleFlash2 ();
CL_AddMuzzleFlash2 ();
break;
case svc_download:

View file

@ -389,8 +389,8 @@ void CL_ParseFrame (void);
void CL_ParseTEnt (void);
void CL_ParseConfigString (void);
void CL_ParseMuzzleFlash (void);
void CL_ParseMuzzleFlash2 (void);
void CL_AddMuzzleFlash (void);
void CL_AddMuzzleFlash2 (void);
void SmokeAndFlash(vec3_t origin);
void CL_SetLightstyle (int i);