From 653f75edc1ee8a6cafd43f7f0a4c131d24bc54c7 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sun, 10 Jan 2016 10:09:56 +0200 Subject: [PATCH] Add missing variable init --- src/wizard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wizard.c b/src/wizard.c index 830aa0a60..57d4d6cbe 100644 --- a/src/wizard.c +++ b/src/wizard.c @@ -348,7 +348,7 @@ tactics(mtmp) register struct monst *mtmp; { unsigned long strat = strategy(mtmp); - xchar sx, sy; + xchar sx = 0, sy = 0; mtmp->mstrategy = (mtmp->mstrategy & (STRAT_WAITMASK | STRAT_APPEARMSG)) | strat;