MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / isUnderground

Method isUnderground

source/game/StarWorldServer.cpp:2262–2264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2260}
2261
2262bool WorldServer::isUnderground(Vec2F const& pos) const {
2263 return m_worldTemplate->undergroundLevel() >= pos[1];
2264}
2265
2266bool WorldServer::disableDeathDrops() const {
2267 if (m_worldTemplate->worldParameters())

Callers

nothing calls this directly

Calls 1

undergroundLevelMethod · 0.80

Tested by

no test coverage detected