(svn r12139) -Fix (r12124): The global variable value should be returned, not the variable.

This commit is contained in:
peter1138 2008-02-14 11:58:36 +00:00
parent bb81de3c4c
commit 859d768bb7
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ static inline uint32 GetVariable(const ResolverObject *object, byte variable, by
{
/* First handle variables common with Action7/9/D */
uint32 value;
if (GetGlobalVariable(variable, &value)) return variable;
if (GetGlobalVariable(variable, &value)) return value;
/* Non-common variable */
switch (variable) {