File diff r27798:d7f49906d8cf → r27799:ab7d36d10264
src/newgrf_town.cpp
Show inline comments
 
@@ -40,13 +40,13 @@
 
			}
 

	
 
			return 0;
 
		}
 

	
 
		/* Town properties */
 
		case 0x80: return this->t->xy;
 
		case 0x80: return static_cast<uint32_t>(this->t->xy);
 
		case 0x81: return GB(static_cast<uint32_t>(this->t->xy), 8, 8);
 
		case 0x82: return ClampTo<uint16_t>(this->t->cache.population);
 
		case 0x83: return GB(ClampTo<uint16_t>(this->t->cache.population), 8, 8);
 
		case 0x8A: return this->t->grow_counter / TOWN_GROWTH_TICKS;
 
		case 0x92: return this->t->flags;  // In original game, 0x92 and 0x93 are really one word. Since flags is a byte, this is to adjust
 
		case 0x93: return 0;