remove an argument that is no longer necessary from a few functions

Passing a boolean 'ghostly' argument to some functions that are also passed
an NHFILE * is unnecessary now.
This commit is contained in:
nhmall
2020-02-02 22:54:44 -05:00
parent 56b196772e
commit 1dfab5fe11
8 changed files with 42 additions and 46 deletions

View File

@@ -1658,7 +1658,7 @@ do_storms()
* are saved with a level. Object and monster timers are
* saved using their respective id's instead of pointers.
*
* void restore_timers(NHFILE *, int range, boolean ghostly, long adjust)
* void restore_timers(NHFILE *, int range, long adjust)
* Restore timers of range 'range'. If from a ghost pile,
* adjust the timeout by 'adjust'. The object and monster
* ids are not restored until later.
@@ -2360,14 +2360,14 @@ int range;
* monster pointers.
*/
void
restore_timers(nhfp, range, ghostly, adjust)
restore_timers(nhfp, range, adjust)
NHFILE *nhfp;
int range;
boolean ghostly; /* restoring from a ghost level */
long adjust; /* how much to adjust timeout */
{
int count = 0;
timer_element *curr;
boolean ghostly = (nhfp->ftype == NHF_BONESFILE); /* from a ghost level */
if (range == RANGE_GLOBAL) {
if (nhfp->structlevel)