summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-08-22 22:26:54 +0000
committerTim Angus <tim@ngus.net>2002-08-22 22:26:54 +0000
commitc8ab405f7c869fc7a786df6cc81065309b915806 (patch)
tree993c699e0f59bd49c5bea653140b7afb45b0f2ec /src/game
parent852a1eed8e0795adb41d0155ce232159111f071e (diff)
* Renamed misc_lens_flare to misc_light_flare and improved it
Diffstat (limited to 'src/game')
-rw-r--r--src/game/bg_public.h2
-rw-r--r--src/game/g_misc.c4
-rw-r--r--src/game/g_spawn.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/game/bg_public.h b/src/game/bg_public.h
index cce117f8..a9f66292 100644
--- a/src/game/bg_public.h
+++ b/src/game/bg_public.h
@@ -1145,7 +1145,7 @@ typedef enum {
ET_CORPSE,
ET_SPRITER,
ET_ANIMMAPOBJ,
- ET_LENSFLARE,
+ ET_LIGHTFLARE,
ET_EVENTS // any of the EV_* events can be added freestanding
// by setting eType to ET_EVENTS + eventNum
diff --git a/src/game/g_misc.c b/src/game/g_misc.c
index 77960646..5698b845 100644
--- a/src/game/g_misc.c
+++ b/src/game/g_misc.c
@@ -450,9 +450,9 @@ void SP_misc_anim_model( gentity_t *self )
}
//TA: spawn function for lens flares
-void SP_misc_lens_flare( gentity_t *self )
+void SP_misc_light_flare( gentity_t *self )
{
- self->s.eType = ET_LENSFLARE;
+ self->s.eType = ET_LIGHTFLARE;
self->s.modelindex = G_ShaderIndex( self->targetShaderName );
VectorCopy( self->pos2, self->s.origin2 );
diff --git a/src/game/g_spawn.c b/src/game/g_spawn.c
index 0ab52703..f0cb7178 100644
--- a/src/game/g_spawn.c
+++ b/src/game/g_spawn.c
@@ -204,7 +204,7 @@ void SP_team_CTF_bluespawn( gentity_t *ent );
//TA:
void SP_misc_spriter( gentity_t *ent );
void SP_misc_anim_model( gentity_t *ent );
-void SP_misc_lens_flare( gentity_t *ent );
+void SP_misc_light_flare( gentity_t *ent );
spawn_t spawns[] = {
// info entities don't do anything at all, but provide positional
@@ -279,7 +279,7 @@ spawn_t spawns[] = {
{"misc_spriter", SP_misc_spriter},
{"misc_anim_model", SP_misc_anim_model},
- {"misc_lens_flare", SP_misc_lens_flare},
+ {"misc_light_flare", SP_misc_light_flare},
{0, 0}
};