(svn r21604) -Add: Variable 7B for accessing 60+x variables while taking the parameter from the accumulator.

This commit is contained in:
frosch 2010-12-22 22:03:57 +00:00
parent e9a595bda0
commit 256fe89b38
1 changed files with 2 additions and 0 deletions

View File

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