mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-22 01:01:18 +00:00
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
b4d16ab6b3
"Some additions to last commit:") and it works again
This commit is contained in:
parent
a0a34e0a35
commit
5d440bbb00
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue