| 491 | } |
| 492 | |
| 493 | void DungeonGeneratorWorld::setBackgroundMod(Vec2I const& position, ModId mod, MaterialHue hueshift) { |
| 494 | ServerTile* tile = m_worldServer->modifyServerTile(position); |
| 495 | if (tile) { |
| 496 | tile->backgroundMod = mod; |
| 497 | tile->foregroundModHueShift = hueshift; |
| 498 | } |
| 499 | } |
| 500 | |
| 501 | void DungeonGeneratorWorld::setTileProtection(DungeonId dungeonId, bool isProtected) { |
| 502 | m_worldServer->setTileProtection(dungeonId, isProtected); |
nothing calls this directly
no test coverage detected