(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:
Darkvater
2006-04-22 13:56:16 +00:00
parent db377b9738
commit 5a8d992eaa
7 changed files with 41 additions and 42 deletions

View File

@@ -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;
}