mirror of
https://github.com/blendogames/thirtyflightsofloving.git
synced 2024-11-14 08:31:04 +00:00
Added bbox for debris as well.
This commit is contained in:
parent
0eac80b08a
commit
8e5184bfb3
1 changed files with 3 additions and 1 deletions
|
@ -579,7 +579,9 @@ void ThrowDebris (edict_t *self, char *modelname, float speed, vec3_t origin, in
|
|||
v[2] = 100 + 100 * crandom();
|
||||
VectorMA (self->velocity, speed, v, chunk->velocity);
|
||||
chunk->movetype = MOVETYPE_BOUNCE;
|
||||
chunk->solid = SOLID_NOT;
|
||||
VectorSet (chunk->mins, -1, -1, -1);
|
||||
VectorSet (chunk->maxs, 1, 1, 1);
|
||||
chunk->solid = SOLID_TRIGGER; // Knightmare- was SOLID_NOT
|
||||
chunk->avelocity[0] = random()*600;
|
||||
chunk->avelocity[1] = random()*600;
|
||||
chunk->avelocity[2] = random()*600;
|
||||
|
|
Loading…
Reference in a new issue