diff options
| author | untodesu <kirill@untode.su> | 2025-09-11 13:48:31 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-09-11 13:48:31 +0500 |
| commit | aaed751bf4430bf4b9b30cef532b8753b9f639ce (patch) | |
| tree | 16bc751c272ba27ad53ec48dbdd3a6d9e6a8d4c2 /game/server/world/overworld.cc | |
| parent | 96bd73ae020ecca1f94698744c77498a89ad19f7 (diff) | |
| download | voxelius-aaed751bf4430bf4b9b30cef532b8753b9f639ce.tar.bz2 voxelius-aaed751bf4430bf4b9b30cef532b8753b9f639ce.zip | |
Replace most of C strings with string_view
Diffstat (limited to 'game/server/world/overworld.cc')
| -rw-r--r-- | game/server/world/overworld.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/server/world/overworld.cc b/game/server/world/overworld.cc index ff0b6f7..fca3edf 100644 --- a/game/server/world/overworld.cc +++ b/game/server/world/overworld.cc @@ -70,7 +70,7 @@ static void compute_tree_feature(unsigned int height, world::Feature& feature, v } } -world::Overworld::Overworld(const char* name) : Dimension(name, -30.0f) +world::Overworld::Overworld(std::string_view name) : Dimension(name, -30.0f) { m_bottommost_chunk.set_limits(-64, -4); m_terrain_variation.set_limits(16, 256); |
