Changeset - r11163:407814b6138f
[Not reviewed]
master
0 6 0
peter1138 - 15 years ago 2009-02-18 09:14:41
peter1138@openttd.org
(svn r15513) -Cleanup: Unavailable varaction variable value does not matter, but at least it can be consistent.
6 files changed with 6 insertions and 6 deletions:
0 comments (0 inline, 0 general)
src/newgrf_canal.cpp
Show inline comments
 
@@ -56,7 +56,7 @@ static uint32 CanalGetVariable(const Res
 
	DEBUG(grf, 1, "Unhandled canal property 0x%02X", variable);
 

	
 
	*available = false;
 
	return 0;
 
	return UINT_MAX;
 
}
 

	
 

	
src/newgrf_cargo.cpp
Show inline comments
 
@@ -31,7 +31,7 @@ static uint32 CargoGetVariable(const Res
 
	DEBUG(grf, 1, "Unhandled cargo property 0x%X", variable);
 

	
 
	*available = false;
 
	return 0;
 
	return UINT_MAX;
 
}
 

	
 

	
src/newgrf_generic.cpp
Show inline comments
 
@@ -94,7 +94,7 @@ static uint32 GenericCallbackGetVariable
 
	DEBUG(grf, 1, "Unhandled generic feature property 0x%02X", variable);
 

	
 
	*available = false;
 
	return 0;
 
	return UINT_MAX;
 
}
 

	
 

	
src/newgrf_industries.cpp
Show inline comments
 
@@ -380,7 +380,7 @@ uint32 IndustryGetVariable(const Resolve
 
	DEBUG(grf, 1, "Unhandled industry property 0x%X", variable);
 

	
 
	*available = false;
 
	return (uint32)-1;
 
	return UINT_MAX;
 
}
 

	
 
static const SpriteGroup *IndustryResolveReal(const ResolverObject *object, const SpriteGroup *group)
src/newgrf_industrytiles.cpp
Show inline comments
 
@@ -102,7 +102,7 @@ static uint32 IndustryTileGetVariable(co
 
	DEBUG(grf, 1, "Unhandled industry tile property 0x%X", variable);
 

	
 
	*available = false;
 
	return (uint32)-1;
 
	return UINT_MAX;
 
}
 

	
 
static const SpriteGroup *IndustryTileResolveReal(const ResolverObject *object, const SpriteGroup *group)
src/newgrf_town.cpp
Show inline comments
 
@@ -95,5 +95,5 @@ uint32 TownGetVariable(byte variable, by
 
	DEBUG(grf, 1, "Unhandled town property 0x%X", variable);
 

	
 
	*available = false;
 
	return (uint32)-1;
 
	return UINT_MAX;
 
}
0 comments (0 inline, 0 general)