From 0c961f00bf9ddf7b44dad2451c09c452747574b8 Mon Sep 17 00:00:00 2001 From: Yamagi Burmeister Date: Tue, 22 Jun 2010 15:38:09 +0000 Subject: [PATCH] CL_ParseMuzzleFlash* zu CL_AddMuzzleFlash* umbenannt --- src/client/cl_effects.c | 10 +++++----- src/client/cl_parse.c | 4 ++-- src/client/header/client.h | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/client/cl_effects.c b/src/client/cl_effects.c index 4c22f9b0..8c8b8ae2 100644 --- a/src/client/cl_effects.c +++ b/src/client/cl_effects.c @@ -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); diff --git a/src/client/cl_parse.c b/src/client/cl_parse.c index 65bc483f..0b872308 100644 --- a/src/client/cl_parse.c +++ b/src/client/cl_parse.c @@ -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: diff --git a/src/client/header/client.h b/src/client/header/client.h index 34f97eba..799adff0 100644 --- a/src/client/header/client.h +++ b/src/client/header/client.h @@ -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);