(powe): Fix the deity check to use player->god instead of

player->cnum == 0.  Partial Fix for #863419.
This commit is contained in:
Ron Koenderink 2005-02-21 20:35:37 +00:00
parent 552467dc08
commit aebdf80864

View file

@ -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;