Changeset - r24406:b0a2d5720c74
[Not reviewed]
master
0 1 0
Patric Stout - 4 years ago 2020-12-05 10:33:42
truebrain@openttd.org
Codechange: don't do work GetVariableAddress() is already doing
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/saveload.cpp
Show inline comments
 
@@ -1619,7 +1619,7 @@ void SlObject(void *object, const SaveLo
 
	}
 

	
 
	for (; sld->cmd != SL_END; sld++) {
 
		void *ptr = sld->global ? sld->address : GetVariableAddress(object, sld);
 
		void *ptr = GetVariableAddress(object, sld);
 
		SlObjectMember(ptr, sld);
 
	}
 
}
0 comments (0 inline, 0 general)