diff --git a/source/src/physics.cpp b/source/src/physics.cpp index bc0e92ce..0b33c96a 100644 --- a/source/src/physics.cpp +++ b/source/src/physics.cpp @@ -116,7 +116,8 @@ bool mmcollide(physent *d, float &hi, float &lo) // collide with a map loopv(ents) { entity &e = ents[i]; - if(e.type==CLIP || (e.type == PLCLIP && d->type == ENT_PLAYER)) + // if(e.type==CLIP || (e.type == PLCLIP && d->type == ENT_PLAYER)) + if (e.type==CLIP || (e.type == PLCLIP && (d->type == ENT_BOT || d->type == ENT_PLAYER))) // don't allow bots to hack themselves into plclips - Bukz 2011/04/14 { if(fabs(e.x-d->o.x) < e.attr2 + d->radius && fabs(e.y-d->o.y) < e.attr3 + d->radius) {