mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-23 18:39:41 +00:00
Fixed crash when entering the birth dialog two or more times. Array should not have been static.
This commit is contained in:
parent
0cc8f84393
commit
76ab7302b1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue