mirror of
https://github.com/vcmi/vcmi.git
synced 2025-05-31 22:59:54 +02:00
Fixed crash on opening creature window in battle
This commit is contained in:
parent
a115406fa3
commit
8f1a4fcb56
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user