(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
This commit is contained in:
@@ -209,8 +209,8 @@ static void SndPlayScreenCoordFx(SoundFx sound, int x, int y)
|
||||
const ViewPort *vp = (*wz)->viewport;
|
||||
|
||||
if (vp != NULL &&
|
||||
IS_INSIDE_1D(x, vp->virtual_left, vp->virtual_width) &&
|
||||
IS_INSIDE_1D(y, vp->virtual_top, vp->virtual_height)) {
|
||||
IsInsideBS(x, vp->virtual_left, vp->virtual_width) &&
|
||||
IsInsideBS(y, vp->virtual_top, vp->virtual_height)) {
|
||||
int left = (x - vp->virtual_left);
|
||||
|
||||
StartSound(
|
||||
|
Reference in New Issue
Block a user