File diff r21382:9d5f35b3c6bb → r21383:942c32fb8b0e
src/newgrf_railtype.cpp
Show inline comments
 
@@ -13,12 +13,14 @@
 
#include "debug.h"
 
#include "newgrf_railtype.h"
 
#include "date_func.h"
 
#include "depot_base.h"
 
#include "town.h"
 

	
 
#include "safeguards.h"
 

	
 
/* virtual */ uint32 RailTypeScopeResolver::GetRandomBits() const
 
{
 
	uint tmp = CountBits(this->tile + (TileX(this->tile) + TileY(this->tile)) * TILE_SIZE);
 
	return GB(tmp, 0, 2);
 
}