1
0

Fix Undefined behavior at Bindings/LuaWindow line 32

This commit is contained in:
worktycho 2013-12-09 14:17:39 +00:00
parent 187449824c
commit 604c8fd9b9

View File

@ -1,4 +1,3 @@
// LuaWindow.cpp
// Implements the cLuaWindow class representing a virtual window that plugins may create and open for the player
@ -37,6 +36,10 @@ cLuaWindow::cLuaWindow(cWindow::WindowType a_WindowType, int a_SlotsX, int a_Slo
m_SlotAreas.push_back(new cSlotAreaArmor(*this));
break;
}
default:
{
break;
}
}
m_SlotAreas.push_back(new cSlotAreaInventory(*this));
m_SlotAreas.push_back(new cSlotAreaHotBar(*this));