summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-10-05 17:50:17 +0000
committerrubidium <rubidium@openttd.org>2007-10-05 17:50:17 +0000
commitcd1af1c870ee6cafca66667dc299dea76d591cd7 (patch)
tree98bb0bb8b642855797301a1e5042fee22a006eab
parent38b7480bb028cbaad3b5ec5f76ee3f6f03670aec (diff)
downloadopenttd-cd1af1c870ee6cafca66667dc299dea76d591cd7.tar.xz
(svn r11205) -Codechange: remove some, now obsolete, checks.
-rw-r--r--src/newgrf.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index bfb93e2a0..9d8004428 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -1699,8 +1699,6 @@ static bool SoundEffectChangeInfo(uint sid, int numinfo, int prop, byte **bufp,
static bool IndustrytilesChangeInfo(uint indtid, int numinfo, int prop, byte **bufp, int len)
{
- if (!HASBIT(_ttdpatch_flags[3], 0x07)) return true;
-
byte *buf = *bufp;
bool ret = false;
@@ -1805,8 +1803,6 @@ static bool IndustrytilesChangeInfo(uint indtid, int numinfo, int prop, byte **b
static bool IndustriesChangeInfo(uint indid, int numinfo, int prop, byte **bufp, int len)
{
- if (!HASBIT(_ttdpatch_flags[3], 0x07)) return true;
-
byte *buf = *bufp;
bool ret = false;
@@ -2937,8 +2933,6 @@ static void TownHouseMapSpriteGroup(byte *buf, uint8 idcount, uint8 cidcount)
static void IndustryMapSpriteGroup(byte *buf, uint8 idcount, uint8 cidcount)
{
- if (!HASBIT(_ttdpatch_flags[3], 0x07)) return;
-
byte *bp = &buf[4 + idcount + cidcount * 3];
uint16 groupid = grf_load_word(&bp);
@@ -2963,8 +2957,6 @@ static void IndustryMapSpriteGroup(byte *buf, uint8 idcount, uint8 cidcount)
static void IndustrytileMapSpriteGroup(byte *buf, uint8 idcount, uint8 cidcount)
{
- if (!HASBIT(_ttdpatch_flags[3], 0x07)) return;
-
byte *bp = &buf[4 + idcount + cidcount * 3];
uint16 groupid = grf_load_word(&bp);