From: Eric S. Raymond Date: Fri, 4 Feb 2005 14:21:20 +0000 (+0000) Subject: Fix some messages. X-Git-Tag: 2.0~384 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=72e3aeba119364fe8766fc8b6fb2bd8e5098355c;p=super-star-trek.git Fix some messages. --- diff --git a/io.c b/io.c index 3016890..93ea842 100644 --- a/io.c +++ b/io.c @@ -164,9 +164,11 @@ void skip(int i) { } #else /* SERGEEV */ while (i-- > 0) proutn("\n\r"); +#endif /* SERGEEV */ } static void vproutn(char *fmt, va_list ap) { +#ifdef SERGEEV char *s, *p; vasprintf(&s, fmt, ap); p=s; diff --git a/moving.c b/moving.c index 537a82b..174cd54 100644 --- a/moving.c +++ b/moving.c @@ -107,7 +107,7 @@ void imove(void) { quady = (iy+9)/10; sectx = ix - 10*(quadx-1); secty = iy - 10*(quady-1); - proutn("\n\rEntering %s.", + prout("\n\rEntering %s.", cramlc(quadrant, quadx, quady)); game.quad[sectx][secty] = ship; newqad(0);