diff options
author | Mattes D <github@xoft.cz> | 2013-12-09 21:16:57 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2013-12-09 21:16:57 +0100 |
commit | 567354b3caf1c7798ee12b48103421c022a0afe1 (patch) | |
tree | ad9d9680ee78a0a9ba8d1fc5e63045c07528f286 /src/Bindings/LuaWindow.cpp | |
parent | Fixed angle normalization typo. (diff) | |
parent | fixed warnings in src/Generating/BioGen.cpp (diff) | |
download | cuberite-567354b3caf1c7798ee12b48103421c022a0afe1.tar cuberite-567354b3caf1c7798ee12b48103421c022a0afe1.tar.gz cuberite-567354b3caf1c7798ee12b48103421c022a0afe1.tar.bz2 cuberite-567354b3caf1c7798ee12b48103421c022a0afe1.tar.lz cuberite-567354b3caf1c7798ee12b48103421c022a0afe1.tar.xz cuberite-567354b3caf1c7798ee12b48103421c022a0afe1.tar.zst cuberite-567354b3caf1c7798ee12b48103421c022a0afe1.zip |
Diffstat (limited to 'src/Bindings/LuaWindow.cpp')
-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)); |