Rearrange uses of getrel() slightly

Just to make the next few commits easier to review.
This commit is contained in:
Markus Armbruster 2011-01-29 09:57:21 +01:00
parent 7ebbe7da4c
commit ef7b9cedc3
5 changed files with 18 additions and 17 deletions

View file

@ -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",