forked from mirror/OpenTTD
(svn r26313) -Codechange: use a set for finding unique town names instead of iterating all just created town names (MJP)
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
|
||||
#include "newgrf_townname.h"
|
||||
#include "town_type.h"
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
typedef std::set<std::string> TownNames;
|
||||
|
||||
/**
|
||||
* Struct holding a parameters used to generate town name.
|
||||
|
Reference in New Issue
Block a user