summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2001-11-20 21:33:02 +0000
committerTim Angus <tim@ngus.net>2001-11-20 21:33:02 +0000
commite96370a9ffcf21b811ea4189887553ec7f23f9d2 (patch)
tree0b72de119d8acdb34f45d8976f549146950ff783 /src/game/g_buildable.c
parent206ee64d4975d9c25990caddbffd8cc030f98cac (diff)
Updates to advanced builder
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index 26de726d..5449237a 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -383,7 +383,6 @@ void DSpawn_Think( gentity_t *self )
if( ent->s.eType == ET_BUILDABLE || ent->s.number == ENTITYNUM_WORLD )
{
- G_Printf( "suiciding %d\n", ent->s.number == ENTITYNUM_WORLD );
G_Damage( self, NULL, NULL, NULL, NULL, 10000, 0, MOD_SUICIDE );
return;
}
@@ -1845,10 +1844,9 @@ gentity_t *G_buildItem( gentity_t *builder, buildable_t buildable, vec3_t origin
else
VectorSet( normal, 0.0f, 0.0f, 1.0f );
- VectorMA( origin, -10.0f, normal, built->s.pos.trBase );
+ VectorMA( origin, -50.0f, normal, built->s.pos.trDelta );
VectorCopy( normal, built->s.origin2 );
- /*VectorSet( built->s.origin2, 0.0f, 0.0f, 1.0f );*/
G_AddEvent( built, EV_BUILD_CONSTRUCT, BANIM_CONSTRUCT1 );