Mendasp/NS2Plus — pull request #3 by lyleunderwood (2014-05-18 12:58:58+00:00)
Title: add server option to make drop packs ignore y axis

this is an adjustment somebody on the forums suggested, and i'm surprised i hadn't thought of it before. this makes drop packs (meds, ammo, etc.) ignore the Y axis.

in some scenarios this will cause an extra check for pickups, but this method is less intrusive than replacing the entire original method outright. i've done some basic testing on it and it seemed fine, but i haven't actually figured out how to test changing server options in a listen server :P so somebody might want to try out the actual option. it looks right to me though. dunno if this should be defaulted to true or not.

the relevant bit here is that GetEntitiesForTeamWithinRange is switched out for GetEntitiesForTeamWithinXZRange, which i was really glad to find.

hopefully you like it!