From d465c183ef123f0c9a5af67d26c9071b65c3efdf Mon Sep 17 00:00:00 2001 From: keni Date: Sat, 5 Mar 2011 23:16:38 +0000 Subject: [PATCH] another compiler warning --- src/zap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zap.c b/src/zap.c index cb31e6d38..5636c5ed8 100644 --- a/src/zap.c +++ b/src/zap.c @@ -2026,7 +2026,7 @@ dozap() check_unpaid(obj); /* zappable addition done by GAN 11/03/86 */ - if(!zappable(obj)) pline(nothing_happens); + if(!zappable(obj)) pline("%s", nothing_happens); else if(obj->cursed && !rn2(WAND_BACKFIRE_CHANCE)) { backfire(obj); /* the wand blows up in your face! */ exercise(A_STR, FALSE);