summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-02-27 12:29:44 +0000
committeralberth <alberth@openttd.org>2010-02-27 12:29:44 +0000
commit2ac558494caf7dfca5347a56bc85a92de9ed888f (patch)
tree8b8129a210ff108111786ee8e36ba1d181841b16 /src/town_cmd.cpp
parent13f1836149b3dbf86cbee45eeaaae82230563bfb (diff)
downloadopenttd-2ac558494caf7dfca5347a56bc85a92de9ed888f.tar.xz
(svn r19272) -Doc: successfull -> successful.
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r--src/town_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index 637405a65..7543c63e0 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -1782,7 +1782,7 @@ bool GenerateTowns(TownLayout layout)
/* Get a unique name for the town. */
if (!GenerateTownName(&townnameparts)) continue;
/* try 20 times to create a random-sized town for the first loop. */
- if (CreateRandomTown(20, townnameparts, TS_RANDOM, city, layout) != NULL) num++; // if creation successfull, raise a flag
+ if (CreateRandomTown(20, townnameparts, TS_RANDOM, city, layout) != NULL) num++; // If creation was successful, raise a flag.
} while (--n);
if (num != 0) return true;