Clear a warning
src/mcastu.c(603) : warning C4244: 'initializing' : conversion from 'long ' to 'char ', possible loss of data M. Allison
This commit is contained in:
@@ -600,7 +600,7 @@ int spellnum;
|
||||
shieldeff(u.ux, u.uy);
|
||||
You_feel("momentarily dizzy.");
|
||||
} else {
|
||||
boolean oldprop = Confusion;
|
||||
boolean oldprop = !!Confusion;
|
||||
|
||||
dmg = (int)mtmp->m_lev;
|
||||
if (Half_spell_damage) dmg = (dmg + 1) / 2;
|
||||
|
||||
Reference in New Issue
Block a user