summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-24 10:38:43 +0000
committerskidd13 <skidd13@openttd.org>2007-11-24 10:38:43 +0000
commitbf959f926ff6dee99a15d91652256169a6484042 (patch)
tree9c936ecbb5e2e4367788a18a55cbf52eb6eb6cc6 /src/town_gui.cpp
parent64246a2775c56c99746727a02af509fe8d75d53f (diff)
downloadopenttd-bf959f926ff6dee99a15d91652256169a6484042.tar.xz
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r--src/town_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp
index 8bd7ff527..3aa49f2d1 100644
--- a/src/town_gui.cpp
+++ b/src/town_gui.cpp
@@ -216,7 +216,7 @@ static void TownAuthorityWndProc(Window *w, WindowEvent *e)
const Town *t = GetTown(w->window_number);
int y = (e->we.click.pt.y - 0x6B) / 10;
- if (!IS_INT_INSIDE(y, 0, 5)) return;
+ if (!IsInsideMM(y, 0, 5)) return;
y = GetNthSetBit(GetMaskOfTownActions(NULL, _local_player, t), y + w->vscroll.pos - 1);
if (y >= 0) {