summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-08-02 21:05:54 +0000
committerrubidium <rubidium@openttd.org>2007-08-02 21:05:54 +0000
commitdb374f600c319f0d230cf5f84e120ea06b5fa41e (patch)
tree84da20e2476c8a93a49a52821e1018b7026f3c85 /src/town_gui.cpp
parent472749af664c92c30ed7acfc394c090d0c621c84 (diff)
downloadopenttd-db374f600c319f0d230cf5f84e120ea06b5fa41e.tar.xz
(svn r10755) -Codechange: make the town struct use the pool item class as super class.
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 eb9410c20..02eabda1a 100644
--- a/src/town_gui.cpp
+++ b/src/town_gui.cpp
@@ -278,7 +278,7 @@ static void TownViewWndProc(Window *w, WindowEvent *e)
break;
case 10: /* delete town */
- DeleteTown(t);
+ delete t;
break;
}
break;