Browse Source

Fixed crash on opening creature window in battle

Ivan Savenko 11 years ago
parent
commit
8f1a4fcb56
1 changed files with 2 additions and 1 deletions
  1. 2 1
      client/windows/CCreatureWindow.cpp

+ 2 - 1
client/windows/CCreatureWindow.cpp

@@ -789,7 +789,8 @@ void CStackWindow::init()
 }
 
 CStackWindow::CStackWindow(const CStack * stack, bool popup):
-	CWindowObject(BORDERED | (popup ? RCLICK_POPUP : 0))
+	CWindowObject(BORDERED | (popup ? RCLICK_POPUP : 0)),
+    info(new StackWindowInfo())
 {
 	info->stackNode = stack->base;
 	info->creature = stack->type;