diff options
author | kwolekr <kwolekr@minetest.net> | 2015-04-29 13:20:01 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-04-29 13:20:01 -0400 |
commit | 37ca3212eee6d70a54493168014f9254cc6e8f37 (patch) | |
tree | c2589b164fb280efa27832c4d3cfc8655c2b2ea7 /src/mg_decoration.cpp | |
parent | b6475f54487690e23cf9541a68f98649edb8f0e0 (diff) | |
download | minetest-37ca3212eee6d70a54493168014f9254cc6e8f37.tar.gz minetest-37ca3212eee6d70a54493168014f9254cc6e8f37.tar.bz2 minetest-37ca3212eee6d70a54493168014f9254cc6e8f37.zip |
Fix MSVC compatibility
Make sure to include random unittests in android builds, too
Use SWAP() macro
Ensure that negative ranges are tested as well in random unittests
Diffstat (limited to 'src/mg_decoration.cpp')
-rw-r--r-- | src/mg_decoration.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mg_decoration.cpp b/src/mg_decoration.cpp index 84f60b029..460db1ede 100644 --- a/src/mg_decoration.cpp +++ b/src/mg_decoration.cpp @@ -310,8 +310,7 @@ int DecoSimple::getHeight() /////////////////////////////////////////////////////////////////////////////// -DecoSchematic::DecoSchematic() : - Decoration::Decoration() +DecoSchematic::DecoSchematic() { schematic = NULL; } |