From 76ab7302b1dc488e265da7c221d3d39d5851b320 Mon Sep 17 00:00:00 2001 From: Jan Borsodi Date: Sun, 10 Oct 2010 02:54:45 +0200 Subject: [PATCH] Fixed crash when entering the birth dialog two or more times. Array should not have been static. --- apps/openmw/mwgui/birth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwgui/birth.cpp b/apps/openmw/mwgui/birth.cpp index da3e7f1b9..5e4247725 100644 --- a/apps/openmw/mwgui/birth.cpp +++ b/apps/openmw/mwgui/birth.cpp @@ -187,7 +187,7 @@ void BirthDialog::updateSpells() } int i = 0; - static struct{ const std::vector &spells; const char *label; } categories[3] = { + struct{ const std::vector &spells; const char *label; } categories[3] = { {abilities, "sBirthsignmenu1"}, {powers, "sPowers"}, {spells, "sBirthsignmenu2"}