(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)
authorbelugas
Wed, 26 Sep 2007 02:11:30 +0000
changeset 8127 0cbf1d4a5f6d
parent 8126 ff006fa6d1ab
child 8128 9fe288a99e99
(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)
src/newgrf.cpp
--- a/src/newgrf.cpp	Wed Sep 26 01:27:51 2007 +0000
+++ b/src/newgrf.cpp	Wed Sep 26 02:11:30 2007 +0000
@@ -1772,7 +1772,7 @@
 			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