Rearrange uses of getrel() slightly
Just to make the next few commits easier to review.
This commit is contained in:
parent
7ebbe7da4c
commit
ef7b9cedc3
5 changed files with 18 additions and 17 deletions
|
@ -143,7 +143,8 @@ load(void)
|
|||
xyas(sect.sct_x, sect.sct_y, player->cnum));
|
||||
continue;
|
||||
}
|
||||
if (!player->owner && load_unload == UNLOAD
|
||||
if (load_unload == UNLOAD
|
||||
&& !player->owner
|
||||
&& getrel(getnatp(sect.sct_own), player->cnum) < FRIENDLY) {
|
||||
if (noisy)
|
||||
pr("You can't unload into an unfriendly %s\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue