diff options
-rw-r--r-- | src/Bindings/LuaWindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Bindings/LuaWindow.cpp b/src/Bindings/LuaWindow.cpp index 18d8b4467..733304eb2 100644 --- a/src/Bindings/LuaWindow.cpp +++ b/src/Bindings/LuaWindow.cpp @@ -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)); |