Add industry type id to newgrf debug window
This commit is contained in:
@@ -459,6 +459,7 @@ struct NewGRFInspectWindow : Window {
|
||||
const void *base_spec = nih->GetSpec(index);
|
||||
|
||||
uint i = 0;
|
||||
this->DrawString(r, i++, "Industry type: %d", (int)((const Industry *)base)->type);
|
||||
if (nif->variables != NULL) {
|
||||
this->DrawString(r, i++, "Variables:");
|
||||
for (const NIVariable *niv = nif->variables; niv->name != NULL; niv++) {
|
||||
|
||||
Reference in New Issue
Block a user