Fix Undefined behavior at Bindings/LuaWindow line 32
This commit is contained in:
1 parent
187449824c
commit
604c8fd9b9
1 file changed
+4
-1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user