newgrf_engine.c
changeset 4656 9c1d8c4d3e60
parent 4331 ec584824ffb8
child 4811 94f23d625b95
equal deleted inserted replaced
4655:2af9a0c4cec2 4656:9c1d8c4d3e60
   649 
   649 
   650 				return (altitude << 8) | airporttype;
   650 				return (altitude << 8) | airporttype;
   651 			}
   651 			}
   652 
   652 
   653 		case 0x46: /* Motion counter */
   653 		case 0x46: /* Motion counter */
   654 			return 0;
   654 			return v->motion_counter;
   655 
   655 
   656 		case 0x47: { /* Vehicle cargo info */
   656 		case 0x47: { /* Vehicle cargo info */
   657 			/* Format: ccccwwtt
   657 			/* Format: ccccwwtt
   658 			 * tt - the cargo type transported by the vehicle,
   658 			 * tt - the cargo type transported by the vehicle,
   659 			 *     translated if a translation table has been installed.
   659 			 *     translated if a translation table has been installed.