Fixed crash when entering the birth dialog two or more times. Array should not have been static.

actorid
Jan Borsodi 14 years ago
parent 0cc8f84393
commit 76ab7302b1

@ -187,7 +187,7 @@ void BirthDialog::updateSpells()
}
int i = 0;
static struct{ const std::vector<std::string> &spells; const char *label; } categories[3] = {
struct{ const std::vector<std::string> &spells; const char *label; } categories[3] = {
{abilities, "sBirthsignmenu1"},
{powers, "sPowers"},
{spells, "sBirthsignmenu2"}

Loading…
Cancel
Save