From 5d440bbb00daf7d99f00e9ed6fcb1d18f294b7ec Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Mon, 24 Oct 2016 17:27:57 +0200 Subject: [PATCH] Make debris SOLID_NOT, fixes #154 In lower mines you can drop a rock onto a tank by using a lever. This was broken, the rock exploded instead of dropping, because debris is spawned and that debris was solid. Now the debris is not solid anymore (like it was up to b4d16ab6b3e040adf1764b7d0c87a57c48616f31 "Some additions to last commit:") and it works again --- src/game/g_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/g_misc.c b/src/game/g_misc.c index 1523e5a3..91f11856 100644 --- a/src/game/g_misc.c +++ b/src/game/g_misc.c @@ -399,7 +399,7 @@ ThrowDebris(edict_t *self, char *modelname, float speed, vec3_t origin) v[2] = 100 + 100 * crandom(); VectorMA(self->velocity, speed, v, chunk->velocity); chunk->movetype = MOVETYPE_BOUNCE; - chunk->solid = SOLID_BBOX; + chunk->solid = SOLID_NOT; chunk->avelocity[0] = random() * 600; chunk->avelocity[1] = random() * 600; chunk->avelocity[2] = random() * 600;