diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-08-14 22:19:15 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-08-18 08:49:00 +0200 |
commit | dd5201c29e4a9a889a70c81fa7a82bf0c8615d65 (patch) | |
tree | b14ae581e0680c303466781cc356c2399a6c7990 /src/Bindings/ManualBindings.h | |
parent | Merge pull request #2436 from cuberite/UpdateCompileScript (diff) | |
download | cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar.gz cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar.bz2 cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar.lz cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar.xz cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.tar.zst cuberite-dd5201c29e4a9a889a70c81fa7a82bf0c8615d65.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) |