> if ((player.x >= entity.min.x) && (player.x <= entity.max.x) &&
>     (player.y >= entity.min.y) && (player.y <= entity.max.y) &&
>     (player.z >= entity.min.z) && (player.y <= entity.max.z))
> {
>    // think inside the box
> }

...and of course that should be "(player.z <= entity.max.z))" (not player.y)

Stupid cut-and-paste.

Jeffrey "botman" Broome

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to