1
0
Fork 0

Codechange: don't do work GetVariableAddress() is already doing

pull/8359/head
Patric Stout 2020-12-05 11:33:42 +01:00 committed by Patric Stout
parent c98717cb45
commit 731af1f1f3
1 changed files with 1 additions and 1 deletions

View File

@ -1619,7 +1619,7 @@ void SlObject(void *object, const SaveLoad *sld)
}
for (; sld->cmd != SL_END; sld++) {
void *ptr = sld->global ? sld->address : GetVariableAddress(object, sld);
void *ptr = GetVariableAddress(object, sld);
SlObjectMember(ptr, sld);
}
}