forked from mirror/OpenTTD
(svn r4529) - Codechange: Use proper naming for hex numbers in debug prints eg. 0xF3A6. Use fixed lengths where applicable (newgrf). Unfortunately '%#X' is unusable since it gives 0XFF3 and '%#x' gives 0xff3 while we want 0xFF3 :P
This commit is contained in:
@@ -169,7 +169,7 @@ static int VehicleSpecificProperty(const Vehicle *v, byte var) {
|
||||
break;
|
||||
}
|
||||
|
||||
DEBUG(grf, 1)("Unhandled vehicle property 0x%x (var 0x%x), type 0x%x", var, var + 0x80, v->type);
|
||||
DEBUG(grf, 1)("Unhandled vehicle property 0x%02X (var 0x%02X), type 0x%02X", var, var + 0x80, v->type);
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user