summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index 20b84f5e..27e542ee 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -233,6 +233,7 @@ qboolean G_isPower( vec3_t origin )
dummy.parentNode = NULL;
dummy.biteam = BIT_HUMANS;
+ dummy.s.modelindex = BA_NONE;
VectorCopy( origin, dummy.s.origin );
return findPower( &dummy );
@@ -439,6 +440,7 @@ static qboolean isCreep( vec3_t origin )
memset( &dummy, 0, sizeof( gentity_t ) );
dummy.parentNode = NULL;
+ dummy.s.modelindex = BA_NONE;
VectorCopy( origin, dummy.s.origin );
return findCreep( &dummy );