summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-09-26 02:11:30 +0000
committerbelugas <belugas@openttd.org>2007-09-26 02:11:30 +0000
commita6c6b355c2e54768bad8de7f4a92adb92b03e778 (patch)
treec2f21308891849d61540c65ff52df3488c9238ed
parent63b91ac88ab76864be7d3319dba2c8a2e814059f (diff)
downloadopenttd-a6c6b355c2e54768bad8de7f4a92adb92b03e778.tar.xz
(svn r11162) -Fix: Acceptance is not a cargo, but rather a level of... acceptance :) So don't need to get cargo name out of it (glx)
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 0ddf25c27..f9099f2bd 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -1772,7 +1772,7 @@ static bool IndustrytilesChangeInfo(uint indtid, int numinfo, int prop, byte **b
case 0x0C: {
uint16 acctp = grf_load_word(&buf);
tsp->accepts_cargo[prop - 0x0A] = GetCargoTranslation(GB(acctp, 0, 8), _cur_grffile);
- tsp->acceptance[prop - 0x0A] = GetCargoTranslation(GB(acctp, 8, 8), _cur_grffile);
+ tsp->acceptance[prop - 0x0A] = GB(acctp, 8, 8);
} break;
case 0x0D: // Land shape flags