Browse Source

CastSpell cleanup

pull/292/head
qndel 7 years ago committed by Anders Jenbo
parent
commit
449b9fd2dc
  1. 2
      Source/spells.cpp

2
Source/spells.cpp

@ -138,7 +138,7 @@ void CastSpell(int id, int spl, int sx, int sy, int dx, int dy, int caster, int
if (spelldata[spl].sMissiles[0] == MIS_CBOLT) {
UseMana(id, SPL_CBOLT);
for (i = 0; i < (spllvl >> 1) + 3; i++) {
for (i = (spllvl >> 1) + 3; i > 0; i--) {
AddMissile(sx, sy, dx, dy, dir, MIS_CBOLT, caster, id, 0, spllvl);
}
}

Loading…
Cancel
Save