Add missing variable init
This commit is contained in:
@@ -348,7 +348,7 @@ tactics(mtmp)
|
|||||||
register struct monst *mtmp;
|
register struct monst *mtmp;
|
||||||
{
|
{
|
||||||
unsigned long strat = strategy(mtmp);
|
unsigned long strat = strategy(mtmp);
|
||||||
xchar sx, sy;
|
xchar sx = 0, sy = 0;
|
||||||
|
|
||||||
mtmp->mstrategy =
|
mtmp->mstrategy =
|
||||||
(mtmp->mstrategy & (STRAT_WAITMASK | STRAT_APPEARMSG)) | strat;
|
(mtmp->mstrategy & (STRAT_WAITMASK | STRAT_APPEARMSG)) | strat;
|
||||||
|
|||||||
Reference in New Issue
Block a user