Changeset - r16860:0bad3b9958de
[Not reviewed]
master
0 1 0
frosch - 13 years ago 2010-12-22 22:03:57
frosch@openttd.org
(svn r21604) -Add: Variable 7B for accessing 60+x variables while taking the parameter from the accumulator.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/newgrf_spritegroup.cpp
Show inline comments
 
@@ -155,6 +155,8 @@ const SpriteGroup *DeterministicSpriteGr
 
			/* 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);
 
		}
0 comments (0 inline, 0 general)