Skip to content

Commit

Permalink
Properly initialized some SpellInfo fields
Browse files Browse the repository at this point in the history
Code change to config_magic_data.cpp, should have no gameplay effect.
  • Loading branch information
StanleySweet authored and Loobinex committed May 6, 2019
1 parent 848d849 commit 8b9c197
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions src/config_magic_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,36 +30,36 @@ extern "C" {
#endif
/******************************************************************************/
struct SpellInfo spell_info[] = {
{0, 0, 0, 0, 0, 0}, // [0] NULL
{1, 1, 0, 0, 5, 0}, // [1] FIREBALL
{1, 2, 0, 0, 6, 0},
{1, 3, 0, 0, 7, 0},
{0, 0, 1, 0, 8, 37},
{1, 4, 0, 0, 9, 0}, // [5] LIGHTNING
{0, 0, 1, 0, 10, 37},
{0, 0, 1, 0, 11, 37},
{1, 5, 0, 0, 12, 0},
{0, 0, 1, 0, 13, 37},
{0, 0, 1, 0, 14, 0}, // [10] TELEPORT
{0, 0, 1, 0, 15, 38},
{1, 10, 0, 0, 16, 0},
{1, 12, 0, 0, 17, 0},
{0, 0, 1, 0, 18, 0},
{1, 9, 0, 0, 19, 0}, // [15] MISSILE
{1, 6, 0, 0, 20, 0},
{1, 7, 0, 0, 21, 0},
{0, 8, 0, 0, 22, 0},
{0, 0, 1, 0, 23, 0},
{0, 0, 1, 0, 24, 37}, // [20] FLY
{0, 0, 1, 0, 25, 37},
{0, 11, 0, 0, 26, 0},
{1, 13, 0, 0, 27, 0}, // [23] HAILSTORM
{0, 0, 0, 14, 28, 0}, // [24] WORD_OF_POWER
{0, 0, 0, 0, 0, 0},
{1, 26, 0, 0, 41, 0},
{1, 27, 0, 0, 42, 0},
{1, 28, 0, 0, 43, 0},
{1, 25, 0, 0, 40, 0},
{0, 0, 0, 0, 0, 0, 0 ,0}, // [0] NULL
{1, 1, 0, 0, 5, 0, 0 ,0}, // [1] FIREBALL
{1, 2, 0, 0, 6, 0, 0 ,0},
{1, 3, 0, 0, 7, 0, 0 ,0},
{0, 0, 1, 0, 8, 37, 0 ,0},
{1, 4, 0, 0, 9, 0, 0 ,0}, // [5] LIGHTNING
{0, 0, 1, 0, 10, 37, 0 ,0},
{0, 0, 1, 0, 11, 37, 0 ,0},
{1, 5, 0, 0, 12, 0, 0 ,0},
{0, 0, 1, 0, 13, 37, 0 ,0},
{0, 0, 1, 0, 14, 0, 0 ,0}, // [10] TELEPORT
{0, 0, 1, 0, 15, 38, 0 ,0},
{1, 10, 0, 0, 16, 0, 0 ,0},
{1, 12, 0, 0, 17, 0, 0 ,0},
{0, 0, 1, 0, 18, 0, 0 ,0},
{1, 9, 0, 0, 19, 0, 0 ,0}, // [15] MISSILE
{1, 6, 0, 0, 20, 0, 0 ,0},
{1, 7, 0, 0, 21, 0, 0 ,0},
{0, 8, 0, 0, 22, 0, 0 ,0},
{0, 0, 1, 0, 23, 0, 0 ,0},
{0, 0, 1, 0, 24, 37, 0 ,0}, // [20] FLY
{0, 0, 1, 0, 25, 37, 0 ,0},
{0, 11, 0, 0, 26, 0, 0 ,0},
{1, 13, 0, 0, 27, 0, 0 ,0}, // [23] HAILSTORM
{0, 0, 0, 14, 28, 0, 0 ,0}, // [24] WORD_OF_POWER
{0, 0, 0, 0, 0, 0, 0 ,0},
{1, 26, 0, 0, 41, 0, 0 ,0},
{1, 27, 0, 0, 42, 0, 0 ,0},
{1, 28, 0, 0, 43, 0, 0 ,0},
{1, 25, 0, 0, 40, 0, 0 ,0},
};

struct SpellData spell_data[] = {
Expand Down

0 comments on commit 8b9c197

Please sign in to comment.