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
|
@ -59,9 +59,9 @@ sct_postread(int id, void *ptr)
|
|||
}
|
||||
|
||||
void
|
||||
sct_prewrite(int id, void *ptr)
|
||||
sct_prewrite(int id, void *old, void *new)
|
||||
{
|
||||
struct sctstr *sp = ptr;
|
||||
struct sctstr *sp = new;
|
||||
int mil, civs;
|
||||
natid own;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue