From aebdf80864089421b5d363965ecbd22f61be7a4d Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Mon, 21 Feb 2005 20:35:37 +0000 Subject: [PATCH] (powe): Fix the deity check to use player->god instead of player->cnum == 0. Partial Fix for #863419. --- src/lib/commands/powe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/commands/powe.c b/src/lib/commands/powe.c index 834f718d..8f41d488 100644 --- a/src/lib/commands/powe.c +++ b/src/lib/commands/powe.c @@ -146,7 +146,7 @@ powe(void) continue; if (use_targets && !targets[pow.p_nation]) continue; - if (pow.p_nation != player->cnum && player->cnum != 0) + if (pow.p_nation != player->cnum && !player->god) round_flag = 1; else round_flag = 0;