aboutsummaryrefslogtreecommitdiff
path: root/src/unittest/test.cpp
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2022-05-18 16:00:53 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2022-05-18 16:00:53 +0200
commit8d19b99c5b073eaba9a89959a6fadd0b395a8510 (patch)
tree35d94637d39848f3d2bd2bbd23d6e6d70c6eb30b /src/unittest/test.cpp
parentccd4c504d53d438fa80ab7f0ecf1858c2ffbdd19 (diff)
parent273bfee9a193d0dd2e9f9b400add980c0b5202a7 (diff)
downloaddragonfireclient-8d19b99c5b073eaba9a89959a6fadd0b395a8510.tar.xz
Merge branch 'master' of https://github.com/minetest/minetest
Diffstat (limited to 'src/unittest/test.cpp')
-rw-r--r--src/unittest/test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unittest/test.cpp b/src/unittest/test.cpp
index 4fd4b930b..e8957afd0 100644
--- a/src/unittest/test.cpp
+++ b/src/unittest/test.cpp
@@ -535,7 +535,7 @@ struct TestMapBlock: public TestBase
parent.node.setContent(CONTENT_AIR);
parent.node.setLight(LIGHTBANK_DAY, LIGHT_SUN);
parent.node.setLight(LIGHTBANK_NIGHT, 0);
- core::map<v3s16, bool> light_sources;
+ std::map<v3s16, bool> light_sources;
// The bottom block is invalid, because we have a shadowing node
UASSERT(b.propagateSunlight(light_sources) == false);
UASSERT(b.getNode(v3s16(1,4,0)).getLight(LIGHTBANK_DAY) == LIGHT_SUN);
@@ -562,7 +562,7 @@ struct TestMapBlock: public TestBase
parent.position_valid = true;
b.setIsUnderground(true);
parent.node.setLight(LIGHTBANK_DAY, LIGHT_MAX/2);
- core::map<v3s16, bool> light_sources;
+ std::map<v3s16, bool> light_sources;
// The block below should be valid because there shouldn't be
// sunlight in there either
UASSERT(b.propagateSunlight(light_sources, true) == true);
@@ -603,7 +603,7 @@ struct TestMapBlock: public TestBase
}
// Lighting value for the valid nodes
parent.node.setLight(LIGHTBANK_DAY, LIGHT_MAX/2);
- core::map<v3s16, bool> light_sources;
+ std::map<v3s16, bool> light_sources;
// Bottom block is not valid
UASSERT(b.propagateSunlight(light_sources) == false);
}