mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r21604) -Add: Variable 7B for accessing 60+x variables while taking the parameter from the accumulator.
This commit is contained in:
parent
e9a595bda0
commit
256fe89b38
@ -155,6 +155,8 @@ const SpriteGroup *DeterministicSpriteGroup::Resolve(ResolverObject *object) con
|
||||
/* Reset values to current scope.
|
||||
* Note: 'last_value' and 'reseed' are shared between the main chain and the procedure */
|
||||
object->scope = this->var_scope;
|
||||
} else if (adjust->variable == 0x7B) {
|
||||
value = GetVariable(object, adjust->parameter, last_value, &available);
|
||||
} else {
|
||||
value = GetVariable(object, adjust->variable, adjust->parameter, &available);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user