Changeset - r17628:416ab6bada3d
[Not reviewed]
master
0 1 0
yexo - 13 years ago 2011-05-01 21:02:18
yexo@openttd.org
(svn r22409) -Fix: [NewGRF] make sure the action2 ID of a generic feature callback is valid
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/newgrf.cpp
Show inline comments
 
@@ -4565,6 +4565,7 @@ static void FeatureMapSpriteGroup(ByteRe
 
		/* Skip number of cargo ids? */
 
		buf->ReadByte();
 
		uint16 groupid = buf->ReadWord();
 
		if (!IsValidGroupID(groupid, "FeatureMapSpriteGroup")) return;
 

	
 
		grfmsg(6, "FeatureMapSpriteGroup: Adding generic feature callback for feature %d", feature);
 

	
0 comments (0 inline, 0 general)