Remove pointless getFOO() from prewrite callbacks
Empire3's C_SYNC code added these to sct_prewrite(), shp_prewrite(), pln_prewrite(), lnd_prewrite() and nuk_prewrite(). They weren't removed when C_SYNC was ripped out in 4.0.0.
This commit is contained in:
parent
afcde86ca3
commit
d87801acaa
5 changed files with 0 additions and 15 deletions
|
@ -77,7 +77,6 @@ void
|
|||
nuk_prewrite(int n, void *ptr)
|
||||
{
|
||||
struct nukstr *np = ptr;
|
||||
struct nukstr nuke;
|
||||
|
||||
if (np->nuk_effic == 0) {
|
||||
if (np->nuk_own)
|
||||
|
@ -86,8 +85,6 @@ nuk_prewrite(int n, void *ptr)
|
|||
np->nuk_own = 0;
|
||||
np->nuk_effic = 0;
|
||||
}
|
||||
|
||||
getnuke(n, &nuke);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue