summaryrefslogtreecommitdiff
path: root/src/game/g_spawn.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2005-06-26 21:03:43 +0000
committerTim Angus <tim@ngus.net>2005-06-26 21:03:43 +0000
commit2225bfe3b44d5f73976cc3aa17e1aa766fc57148 (patch)
treea38afb06d019c4d760805a488cd662c61d871080 /src/game/g_spawn.c
parentf677b381ac8b8c6e46fa02d0a6d71d341c7dd367 (diff)
* Toned done the chaingun a touch
* Inverted the direction in which a player is spawned * Fixed the alien buildable axis explosion bug * Fixed some class name foul ups in the obituaries * Disabled friendly fire by default
Diffstat (limited to 'src/game/g_spawn.c')
-rw-r--r--src/game/g_spawn.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/g_spawn.c b/src/game/g_spawn.c
index ebd6dc45..f31c9dde 100644
--- a/src/game/g_spawn.c
+++ b/src/game/g_spawn.c
@@ -321,6 +321,12 @@ qboolean G_CallSpawn( gentity_t *ent )
/*if( BG_FindStagesForBuildable( buildable, 1 ) )*/
if( qtrue )
{
+ if( buildable == BA_A_SPAWN || buildable == BA_H_SPAWN )
+ {
+ ent->s.angles[ YAW ] += 180.0f;
+ AngleNormalize360( ent->s.angles[ YAW ] );
+ }
+
G_SpawnBuildable( ent, buildable );
return qtrue;
}