summaryrefslogtreecommitdiff
path: root/newgrf.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-02-02 07:15:46 +0000
committertron <tron@openttd.org>2006-02-02 07:15:46 +0000
commitb844aa2db3f7ee77ffee09bdfb2fd9f2dc13b924 (patch)
tree986bf53fde84b3cd16b658ae7ff1a59b2d28e5ec /newgrf.c
parent21fb5b5150672011d9bc57e227f6d6747a8938de (diff)
downloadopenttd-b844aa2db3f7ee77ffee09bdfb2fd9f2dc13b924.tar.xz
(svn r3520) Remove unused parameters from some functions
Diffstat (limited to 'newgrf.c')
-rw-r--r--newgrf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newgrf.c b/newgrf.c
index 479b52721..402356a3b 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -2575,7 +2575,7 @@ static void CalculateRefitMasks(void)
/* XXX: We consider GRF files trusted. It would be trivial to exploit OTTD by
* a crafted invalid GRF file. We should tell that to the user somehow, or
* better make this more robust in the future. */
-static void DecodeSpecialSprite(const char* filename, uint num, uint stage)
+static void DecodeSpecialSprite(uint num, uint stage)
{
/* XXX: There is a difference between staged loading in TTDPatch and
* here. In TTDPatch, for some reason actions 1 and 2 are carried out
@@ -2671,7 +2671,7 @@ static void LoadNewGRFFile(const char* filename, uint file_index, uint stage)
if (type == 0xFF) {
if (_skip_sprites == 0) {
- DecodeSpecialSprite(filename, num, stage);
+ DecodeSpecialSprite(num, stage);
continue;
} else {
FioSkipBytes(num);