diff src/newgrf_cargo.cpp @ 18302:4925b06e241f draft

(svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60.
author frosch <frosch@openttd.org>
date Tue, 08 Nov 2011 17:23:30 +0000
parents 2d62fee43556
children 88567087417f
line wrap: on
line diff
--- a/src/newgrf_cargo.cpp
+++ b/src/newgrf_cargo.cpp
@@ -33,7 +33,7 @@
 }
 
 
-static uint32 CargoGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available)
+static uint32 CargoGetVariable(const ResolverObject *object, byte variable, uint32 parameter, bool *available)
 {
 	DEBUG(grf, 1, "Unhandled cargo variable 0x%X", variable);