summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-01-14 16:09:51 +0000
committerfrosch <frosch@openttd.org>2011-01-14 16:09:51 +0000
commitee67d10c803fb32303d94d7d3e5321a0f87cb298 (patch)
tree42d31a041c5d97ad0bcd28e640ac97be63c8bb40 /src
parent3d1008318bf78ab89849f0f2f77c5abf999229d8 (diff)
downloadopenttd-ee67d10c803fb32303d94d7d3e5321a0f87cb298.tar.xz
(svn r21783) -Cleanup (r14997): Remove redundant assignment.
Diffstat (limited to 'src')
-rw-r--r--src/spritecache.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/spritecache.cpp b/src/spritecache.cpp
index f6b1b87bc..e3281b908 100644
--- a/src/spritecache.cpp
+++ b/src/spritecache.cpp
@@ -281,8 +281,6 @@ static void *ReadSprite(SpriteCache *sc, SpriteID id, SpriteType sprite_type)
}
}
- sc->type = sprite_type;
-
return sc->ptr;
}