Fixed array subscript out of bounds issue.
修复数组下标越界的问题。
This commit is contained in:
parent
839d60b62a
commit
b7805c5804
|
@ -143,7 +143,7 @@ public partial class ProjectileWeapon : WeaponTemplate
|
||||||
{
|
{
|
||||||
//Has the ability to generate projectiles.
|
//Has the ability to generate projectiles.
|
||||||
//拥有抛射体生成能力。
|
//拥有抛射体生成能力。
|
||||||
_spellProjectileIndexes.Add(i);
|
_spellProjectileIndexes.Add(_spells.Count - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user