Changeset - r18451:7951ff5b73a1
[Not reviewed]
master
0 1 0
rubidium - 13 years ago 2011-11-23 16:17:13
rubidium@openttd.org
(svn r23305) -Fix (r23298): warning about comparing different enums
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/ai/api/ai_cargo.cpp
Show inline comments
 
@@ -22,7 +22,7 @@
 

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

	
 
/* static */ char *AICargo::GetCargoLabel(CargoID cargo_type)
0 comments (0 inline, 0 general)