summaryrefslogtreecommitdiff
path: root/src/main_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
commit815b8d8df1e31439f3776e51e93239703346228b (patch)
tree9c936ecbb5e2e4367788a18a55cbf52eb6eb6cc6 /src/main_gui.cpp
parent3ff1cf32c39e9e11d783b973c64a33c098705304 (diff)
downloadopenttd-815b8d8df1e31439f3776e51e93239703346228b.tar.xz
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index 374548127..4dfbdd705 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -1336,7 +1336,7 @@ static void ScenEditLandGenWndProc(Window *w, WindowEvent *e)
HandleButtonClick(w, e->we.click.widget);
size += _terraform_size;
- if (!IS_INT_INSIDE(size, 1, 8 + 1)) return;
+ if (!IsInsideMM(size, 1, 8 + 1)) return;
_terraform_size = size;
SndPlayFx(SND_15_BEEP);