diff options
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r-- | src/town_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 97c111461..a9256a1a5 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -1603,7 +1603,7 @@ bool GenerateTowns() if (num == 0 && CreateRandomTown(10000, TSM_RANDOM, 0) == NULL) { if (GetNumTowns() == 0) { /* XXX - can we handle that more gracefully? */ - if (_game_mode != GM_EDITOR) error("Could not generate any town"); + if (_game_mode != GM_EDITOR) usererror("Could not generate any town"); return false; } |