Changeset - r12191:a4134ef0250a
[Not reviewed]
master
0 1 0
yexo - 15 years ago 2009-06-21 13:30:21
yexo@openttd.org
(svn r16615) -Fix (r16613): 0x10 != 2
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_engine.cpp
Show inline comments
 
@@ -695,7 +695,7 @@ static uint32 VehicleGetVariable(const R
 

	
 
	/* General vehicle properties */
 
	switch (variable - 0x80) {
 
		case 0x00: return v->type + 2;
 
		case 0x00: return v->type + 0x10;
 
		case 0x01: return MapOldSubType(v);
 
		case 0x04: return v->index;
 
		case 0x05: return GB(v->index, 8, 8);
0 comments (0 inline, 0 general)