Avoid some arrays being of predefined size
This makes it easier to change the array size via content
This commit is contained in:
parent
0a1b4d347c
commit
cab3ebddf5
4 changed files with 18 additions and 82 deletions
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue