diff options
author | christos <christos@NetBSD.org> | 1997-10-13 21:02:57 +0000 |
---|---|---|
committer | christos <christos@NetBSD.org> | 1997-10-13 21:02:57 +0000 |
commit | bd10b531314ec546d25fd238f27d94c74a726567 (patch) | |
tree | a6f88adfc60ca14d2851035c0a9fce98fcc96438 /sail/dr_2.c | |
parent | 7e5c0c57606f0f1e9335aa74ef5ea8c8048a9b2c (diff) | |
download | bsdgames-darwin-bd10b531314ec546d25fd238f27d94c74a726567.tar.gz bsdgames-darwin-bd10b531314ec546d25fd238f27d94c74a726567.tar.zst bsdgames-darwin-bd10b531314ec546d25fd238f27d94c74a726567.zip |
- make sure that the arguments to the printf like functions are correct
- add a makemsg() function to accompany makesignal.
Diffstat (limited to 'sail/dr_2.c')
-rw-r--r-- | sail/dr_2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sail/dr_2.c b/sail/dr_2.c index d44e8246..30c9e4a6 100644 --- a/sail/dr_2.c +++ b/sail/dr_2.c @@ -1,4 +1,4 @@ -/* $NetBSD: dr_2.c,v 1.5 1997/10/13 19:43:23 christos Exp $ */ +/* $NetBSD: dr_2.c,v 1.6 1997/10/13 21:03:18 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)dr_2.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: dr_2.c,v 1.5 1997/10/13 19:43:23 christos Exp $"); +__RCSID("$NetBSD: dr_2.c,v 1.6 1997/10/13 21:03:18 christos Exp $"); #endif #endif /* not lint */ @@ -99,13 +99,13 @@ checkup() foreachship(sq) cleansnag(sp, sq, 1); if (sink != 1) { - makesignal(sp, "exploding!", (struct ship *)0); + makemsg(sp, "exploding!"); foreachship(sq) { if (sp != sq && sq->file->dir && range(sp, sq) < 4) table(RIGGING, L_EXPLODE, sp->specs->guns/13, sq, sp, 6); } } else - makesignal(sp, "sinking!", (struct ship *)0); + makemsg(sp, "sinking!"); } } |