projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Repair algorithm fixed.
[unix-history]
/
usr
/
src
/
games
/
sail
/
pl_5.c
diff --git
a/usr/src/games/sail/pl_5.c
b/usr/src/games/sail/pl_5.c
index
59c4ff6
..
8f726a1
100644
(file)
--- a/
usr/src/games/sail/pl_5.c
+++ b/
usr/src/games/sail/pl_5.c
@@
-1,5
+1,5
@@
#ifndef lint
#ifndef lint
-static char *sccsid = "@(#)pl_5.c 2.
3 83/12/17
";
+static char *sccsid = "@(#)pl_5.c 2.
5 83/12/21
";
#endif
#include "player.h"
#endif
#include "player.h"
@@
-123,11
+123,11
@@
acceptboard()
crew[2] = mc->crew3;
for (n = 0; n < NBP; n++) {
if (mf->OBP[n].turnsent)
crew[2] = mc->crew3;
for (n = 0; n < NBP; n++) {
if (mf->OBP[n].turnsent)
- men += mf->OBP[n].
tur
nsent;
+ men += mf->OBP[n].
me
nsent;
}
for (n = 0; n < NBP; n++) {
if (mf->DBP[n].turnsent)
}
for (n = 0; n < NBP; n++) {
if (mf->DBP[n].turnsent)
- men += mf->DBP[n].
tur
nsent;
+ men += mf->DBP[n].
me
nsent;
}
if (men) {
crew[0] = men/100 ? 0 : crew[0] != 0;
}
if (men) {
crew[0] = men/100 ? 0 : crew[0] != 0;
@@
-212,7
+212,9
@@
char buf;
(void) mvwaddstr(slot_w, 1, 0, "OBP");
makesignal(ms, "boarding the %s (%c%c)", to);
}
(void) mvwaddstr(slot_w, 1, 0, "OBP");
makesignal(ms, "boarding the %s (%c%c)", to);
}
+ blockalarm();
(void) wrefresh(slot_w);
(void) wrefresh(slot_w);
+ unblockalarm();
} else
Signal("Sending no crew sections.", (struct ship *)0);
}
} else
Signal("Sending no crew sections.", (struct ship *)0);
}