mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r12449) -Feature[newGRF]: Add support for var A2/22 for action 7/9/D: Diificulty level
This commit is contained in:
parent
b88882c2fa
commit
3343586c84
|
@ -3555,6 +3555,10 @@ bool GetGlobalVariable(byte param, uint32 *value)
|
|||
return true;
|
||||
}
|
||||
|
||||
case 0x22: // difficulty level
|
||||
*value = _opt.diff_level;
|
||||
return true;
|
||||
|
||||
default: return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue