From f8bd44281b3369f667923305768ac7424a960eed Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Sun, 7 Aug 2011 22:56:21 +0000 Subject: * (bug 5039) Fix buildables to initialize with the correct normal vector, which should improve falsely self-destructing eggs (/dev/humancontroller) --- src/game/g_local.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/g_local.h') diff --git a/src/game/g_local.h b/src/game/g_local.h index 7ea873cd..214f4f25 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -788,7 +788,7 @@ qboolean G_FindCreep( gentity_t *self ); void G_BuildableThink( gentity_t *ent, int msec ); qboolean G_BuildableRange( vec3_t origin, float r, buildable_t buildable ); void G_ClearDeconMarks( void ); -itemBuildError_t G_CanBuild( gentity_t *ent, buildable_t buildable, int distance, vec3_t origin ); +itemBuildError_t G_CanBuild( gentity_t *ent, buildable_t buildable, int distance, vec3_t origin, vec3_t normal ); qboolean G_BuildIfValid( gentity_t *ent, buildable_t buildable ); void G_SetBuildableAnim( gentity_t *ent, buildableAnimNumber_t anim, qboolean force ); void G_SetIdleBuildableAnim( gentity_t *ent, buildableAnimNumber_t anim ); -- cgit