Pass old element to empfile callback prewrite()
Change sct_prewrite(), shp_prewrite(), pln_prewrite(), lnd_prewrite(), nuk_prewrite() accordingly. New argument isn't used for anything, yet.
This commit is contained in:
parent
0bcd0a8422
commit
c5482e4bfb
9 changed files with 33 additions and 33 deletions
|
@ -74,9 +74,9 @@ nuk_postread(int n, void *ptr)
|
|||
}
|
||||
|
||||
void
|
||||
nuk_prewrite(int n, void *ptr)
|
||||
nuk_prewrite(int n, void *old, void *new)
|
||||
{
|
||||
struct nukstr *np = ptr;
|
||||
struct nukstr *np = new;
|
||||
|
||||
if (np->nuk_effic == 0) {
|
||||
if (np->nuk_own)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue