Changeset - r8561:b5bc42f7c79b
[Not reviewed]
master
0 1 0
peter1138 - 16 years ago 2008-02-14 11:58:36
peter1138@openttd.org
(svn r12139) -Fix (r12124): The global variable value should be returned, not the variable.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_spritegroup.cpp
Show inline comments
 
@@ -84,7 +84,7 @@ static inline uint32 GetVariable(const R
 
{
 
	/* 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) {
0 comments (0 inline, 0 general)