Changeset - r18453:4ea61080b8fc
[Not reviewed]
master
0 1 0
truebrain - 13 years ago 2011-11-23 16:29:34
truebrain@openttd.org
(svn r23307) -Revert (r23306): committed one file too many :s
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/ai/api/ai_cargo.cpp
Show inline comments
 
@@ -19,13 +19,13 @@
 
{
 
	return (cargo_type < NUM_CARGO && ::CargoSpec::Get(cargo_type)->IsValid());
 
}
 

	
 
/* static */ bool AICargo::IsValidTownEffect(TownEffect towneffect_type)
 
{
 
	return (towneffect_type >= (::TownEffect)TE_BEGIN && towneffect_type < (::TownEffect)TE_END);
 
	return (towneffect_type >= (TownEffect)TE_BEGIN && towneffect_type < (TownEffect)TE_END);
 
}
 

	
 
/* static */ char *AICargo::GetCargoLabel(CargoID cargo_type)
 
{
 
	if (!IsValidCargo(cargo_type)) return NULL;
 
	const CargoSpec *cargo = ::CargoSpec::Get(cargo_type);
0 comments (0 inline, 0 general)