diff options
author | Mattes D <github@xoft.cz> | 2015-08-18 08:49:39 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-08-18 08:49:39 +0200 |
commit | 5ea1b9cee17d7fb43a2e118b880cbf74cd9772d7 (patch) | |
tree | b14ae581e0680c303466781cc356c2399a6c7990 /src/Bindings/ManualBindings.h | |
parent | Merge pull request #2436 from cuberite/UpdateCompileScript (diff) | |
parent | Some warning fixes (diff) | |
download | cuberite-5ea1b9cee17d7fb43a2e118b880cbf74cd9772d7.tar cuberite-5ea1b9cee17d7fb43a2e118b880cbf74cd9772d7.tar.gz cuberite-5ea1b9cee17d7fb43a2e118b880cbf74cd9772d7.tar.bz2 cuberite-5ea1b9cee17d7fb43a2e118b880cbf74cd9772d7.tar.lz cuberite-5ea1b9cee17d7fb43a2e118b880cbf74cd9772d7.tar.xz cuberite-5ea1b9cee17d7fb43a2e118b880cbf74cd9772d7.tar.zst cuberite-5ea1b9cee17d7fb43a2e118b880cbf74cd9772d7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/ManualBindings.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Bindings/ManualBindings.h b/src/Bindings/ManualBindings.h index f8c9b96de..38f7ac5f1 100644 --- a/src/Bindings/ManualBindings.h +++ b/src/Bindings/ManualBindings.h @@ -263,7 +263,9 @@ public: // Get parameters: Ty1 * Self = nullptr; - int BlockX, BlockY, BlockZ; + int BlockX = 0; + int BlockY = 0; + int BlockZ = 0; cLuaState::cRef FnRef; L.GetStackValues(1, Self, BlockX, BlockY, BlockZ, FnRef); if (Self == nullptr) @@ -327,7 +329,8 @@ public: // Get parameters: Ty1 * Self = nullptr; - int ChunkX, ChunkZ; + int ChunkX = 0; + int ChunkZ = 0; cLuaState::cRef FnRef; L.GetStackValues(1, Self, ChunkX, ChunkZ, FnRef); if (Self == nullptr) |