summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2004-01-19 19:21:19 +0000
committerTim Angus <tim@ngus.net>2004-01-19 19:21:19 +0000
commitc60908dce88434be260a07a804c8985c763ed7f8 (patch)
tree125a0d624146b8ec34033fa2b0a44b17012b5a34 /src/game/g_buildable.c
parent73d22e1004003af65b2e1adba19649bb9933a42e (diff)
* Forced a weapon change when buying a weapon
* Implemented dynamic stage boundaries * A shedload of balance tweaks * Inevitably other stuff that I've forgotten whilst SF CVS has been down
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index 02956095..fe6d0362 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -933,7 +933,7 @@ static qboolean APropHovel_Blocked( vec3_t origin, vec3_t angles, vec3_t normal,
VectorCopy( angles, hovel.s.angles );
VectorCopy( normal, hovel.s.origin2 );
- return AHovel_Use( &hovel, player, qfalse );
+ return AHovel_Blocked( &hovel, player, qfalse );
}
/*
@@ -2201,7 +2201,7 @@ gentity_t *G_buildItem( gentity_t *builder, buildable_t buildable, vec3_t origin
built->takedamage = qfalse;
built->spawned = qfalse;
- built->buildTime = level.time;
+ built->buildTime = built->s.time = level.time;
//things that vary for each buildable that aren't in the dbase
switch( buildable )