(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 7631 7fc3e541dad6
parent 7630 e6f5a3dbd443
child 7632 08e14d61a557
(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