diff options
Diffstat (limited to 'sail/pl_6.c')
-rw-r--r-- | sail/pl_6.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sail/pl_6.c b/sail/pl_6.c index e684035d..48902668 100644 --- a/sail/pl_6.c +++ b/sail/pl_6.c @@ -1,4 +1,4 @@ -/* $NetBSD: pl_6.c,v 1.4 1997/10/13 19:45:33 christos Exp $ */ +/* $NetBSD: pl_6.c,v 1.5 1999/02/10 00:45:46 hubertf Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)pl_6.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pl_6.c,v 1.4 1997/10/13 19:45:33 christos Exp $"); +__RCSID("$NetBSD: pl_6.c,v 1.5 1999/02/10 00:45:46 hubertf Exp $"); #endif #endif /* not lint */ @@ -81,7 +81,7 @@ repair() int max = ptr->guns/4; if (ptr->hull < max) { FIX(hull, max); - Write(W_HULL, ms, 0, ptr->hull, 0, 0, 0); + Write(W_HULL, ms, ptr->hull, 0, 0, 0); } break; } @@ -90,14 +90,14 @@ repair() int max = ptr->guns/5 - ptr->carL; if (ptr->gunL < max) { FIX(gunL, max); - Write(W_GUNL, ms, 0, ptr->gunL, + Write(W_GUNL, ms, ptr->gunL, ptr->carL, 0, 0); } } else { int max = ptr->guns/5 - ptr->carR; if (ptr->gunR < max) { FIX(gunR, max); - Write(W_GUNR, ms, 0, ptr->gunR, + Write(W_GUNR, ms, ptr->gunR, ptr->carR, 0, 0); } } @@ -106,19 +106,19 @@ repair() #define X 2 if (ptr->rig4 >= 0 && ptr->rig4 < X) { FIX(rig4, X); - Write(W_RIG4, ms, 0, ptr->rig4, 0, 0, 0); + Write(W_RIG4, ms, ptr->rig4, 0, 0, 0); } if (count && ptr->rig3 < X) { FIX(rig3, X); - Write(W_RIG3, ms, 0, ptr->rig3, 0, 0, 0); + Write(W_RIG3, ms, ptr->rig3, 0, 0, 0); } if (count && ptr->rig2 < X) { FIX(rig2, X); - Write(W_RIG2, ms, 0, ptr->rig2, 0, 0, 0); + Write(W_RIG2, ms, ptr->rig2, 0, 0, 0); } if (count && ptr->rig1 < X) { FIX(rig1, X); - Write(W_RIG1, ms, 0, ptr->rig1, 0, 0, 0); + Write(W_RIG1, ms, ptr->rig1, 0, 0, 0); } break; } |