mirror of
https://github.com/diasurgical/devilution.git
synced 2026-06-20 05:46:12 +00:00
Avoid some arrays being of predefined size
This makes it easier to change the array size via content
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
#include "all.h"
|
||||
|
||||
/** Data related to each spell ID. */
|
||||
SpellData spelldata[MAX_SPELLS] = {
|
||||
SpellData spelldata[] = {
|
||||
// clang-format off
|
||||
// sName, sManaCost, sType, sNameText, sSkillText, sBookLvl, sStaffLvl, sTargeted, sTownSpell, sMinInt, sSFX, sMissiles[3], sManaAdj, sMinMana, sStaffMin, sStaffMax, sBookCost, sStaffCost
|
||||
{ SPL_NULL, 0, 0, NULL, NULL, 0, 0, FALSE, FALSE, 0, 0, { 0, 0, 0 }, 0, 0, 40, 80, 0, 0 },
|
||||
|
||||
Reference in New Issue
Block a user