diff options
author | joerg <joerg@NetBSD.org> | 2011-05-23 23:01:17 +0000 |
---|---|---|
committer | joerg <joerg@NetBSD.org> | 2011-05-23 23:01:17 +0000 |
commit | ccd296bf30f6edab4a9db5c43bfa65fa7d25a7ef (patch) | |
tree | 32b80bbb12d3bbfb5ef388188a0de32e1d104612 /rogue/spec_hit.c | |
parent | 0aa54da72125ab6eec1f8dd721546f109aa6df70 (diff) | |
download | bsdgames-darwin-ccd296bf30f6edab4a9db5c43bfa65fa7d25a7ef.tar.gz bsdgames-darwin-ccd296bf30f6edab4a9db5c43bfa65fa7d25a7ef.tar.zst bsdgames-darwin-ccd296bf30f6edab4a9db5c43bfa65fa7d25a7ef.zip |
Kill some pointer indirections. Don't use variables as format strings.
Diffstat (limited to 'rogue/spec_hit.c')
-rw-r--r-- | rogue/spec_hit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rogue/spec_hit.c b/rogue/spec_hit.c index 6f0d3626..69e314c3 100644 --- a/rogue/spec_hit.c +++ b/rogue/spec_hit.c @@ -1,4 +1,4 @@ -/* $NetBSD: spec_hit.c,v 1.8 2008/01/14 03:50:02 dholland Exp $ */ +/* $NetBSD: spec_hit.c,v 1.9 2011/05/23 23:01:17 joerg Exp $ */ /* * Copyright (c) 1988, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)spec_hit.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: spec_hit.c,v 1.8 2008/01/14 03:50:02 dholland Exp $"); +__RCSID("$NetBSD: spec_hit.c,v 1.9 2011/05/23 23:01:17 joerg Exp $"); #endif #endif /* not lint */ @@ -147,7 +147,7 @@ freeze(object *monster) } killed_by(NULL, HYPOTHERMIA); } - messagef(1, you_can_move_again); + messagef(1, "%s", you_can_move_again); monster->m_flags &= (~FREEZING_ROGUE); } } |