mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-03 08:03:50 +00:00
Make mushrooms non-blocking foliage
This commit is contained in:
parent
2cc2eb7f60
commit
0090c30542
1 changed files with 4 additions and 1 deletions
|
|
@ -693,7 +693,10 @@ bool M2Renderer::loadModel(const pipeline::M2Model& model, uint32_t modelId) {
|
||||||
(lowerName.find("fern") != std::string::npos) ||
|
(lowerName.find("fern") != std::string::npos) ||
|
||||||
(lowerName.find("vine") != std::string::npos) ||
|
(lowerName.find("vine") != std::string::npos) ||
|
||||||
(lowerName.find("lily") != std::string::npos) ||
|
(lowerName.find("lily") != std::string::npos) ||
|
||||||
(lowerName.find("weed") != std::string::npos);
|
(lowerName.find("weed") != std::string::npos) ||
|
||||||
|
(lowerName.find("mushroom") != std::string::npos) ||
|
||||||
|
(lowerName.find("fungus") != std::string::npos) ||
|
||||||
|
(lowerName.find("toadstool") != std::string::npos);
|
||||||
bool treeLike = (lowerName.find("tree") != std::string::npos);
|
bool treeLike = (lowerName.find("tree") != std::string::npos);
|
||||||
foliageOrTreeLike = (foliageName || treeLike);
|
foliageOrTreeLike = (foliageName || treeLike);
|
||||||
bool hardTreePart =
|
bool hardTreePart =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue