Change empfile members postread() and prewrite() to return void
Callers ignore the value, and callees always return 1. Pointless.
This commit is contained in:
parent
e438f6b4cd
commit
bf436a4498
8 changed files with 35 additions and 38 deletions
|
@ -47,7 +47,7 @@
|
|||
#include "sect.h"
|
||||
#include "xy.h"
|
||||
|
||||
int
|
||||
void
|
||||
nuk_postread(int n, void *ptr)
|
||||
{
|
||||
struct nukstr *np = ptr;
|
||||
|
@ -71,10 +71,9 @@ nuk_postread(int n, void *ptr)
|
|||
}
|
||||
|
||||
player->owner = (player->god || np->nuk_own == player->cnum);
|
||||
return 1;
|
||||
}
|
||||
|
||||
int
|
||||
void
|
||||
nuk_prewrite(int n, void *ptr)
|
||||
{
|
||||
struct nukstr *np = ptr;
|
||||
|
@ -89,8 +88,6 @@ nuk_prewrite(int n, void *ptr)
|
|||
}
|
||||
|
||||
getnuke(n, &nuke);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue