Changeset - r9713:e2acfa26cf4a
[Not reviewed]
master
0 1 0
smatz - 16 years ago 2008-07-25 19:50:40
smatz@openttd.org
(svn r13826) -Codechange: use 'INVALID_DATE' instead of '0' as placeholder in tile description
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/misc_gui.cpp
Show inline comments
 
@@ -116,7 +116,7 @@ public:
 
		TileDesc td;
 
		AcceptedCargo ac;
 

	
 
		td.build_date = 0;
 
		td.build_date = INVALID_DATE;
 

	
 
		/* Most tiles have only one owner, but
 
		 *  - drivethrough roadstops can be build on town owned roads (up to 2 owners) and
 
@@ -180,7 +180,7 @@ public:
 
		line_nr++;
 

	
 
		/* Build date */
 
		if (td.build_date != 0) {
 
		if (td.build_date != INVALID_DATE) {
 
			SetDParam(0, td.build_date);
 
			GetString(this->landinfo_data[line_nr], STR_BUILD_DATE, lastof(this->landinfo_data[line_nr]));
 
			line_nr++;
0 comments (0 inline, 0 general)