strings.c
changeset 3616 7ba7353d6561
parent 3601 ac6df06db648
child 3832 dfc3bcc5c679
--- a/strings.c	Sat Apr 22 00:10:38 2006 +0000
+++ b/strings.c	Sat Apr 22 01:37:31 2006 +0000
@@ -17,6 +17,7 @@
 #include "industry.h"
 #include "variables.h"
 #include "newgrf_text.h"
+#include "table/landscape_const.h"
 
 char _userstring[128];
 
@@ -584,7 +585,7 @@
 				// Short description of cargotypes. Layout:
 				// 8-bit = cargo type
 				// 16-bit = cargo count
-				StringID cargo_str = _cargo_string_list[_opt_ptr->landscape][GetInt32(&argv)];
+				StringID cargo_str = _cargo_types_base_values[_opt_ptr->landscape].units_volume[GetInt32(&argv)];
 				switch (cargo_str) {
 					case STR_TONS: {
 						int32 args[1];