mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Reduce collision trapping and improve /unstuck
Add root, branch, thorn, moss, ivy, and other natural doodads to the no-block foliage list. /unstuck now moves the player 5 units forward instead of resetting in place.
This commit is contained in:
parent
394e1a3f31
commit
22b9ee9726
3 changed files with 19 additions and 5 deletions
|
|
@ -715,7 +715,16 @@ bool M2Renderer::loadModel(const pipeline::M2Model& model, uint32_t modelId) {
|
|||
(lowerName.find("fireflys") != std::string::npos) ||
|
||||
(lowerName.find("mushroom") != std::string::npos) ||
|
||||
(lowerName.find("fungus") != std::string::npos) ||
|
||||
(lowerName.find("toadstool") != std::string::npos);
|
||||
(lowerName.find("toadstool") != std::string::npos) ||
|
||||
(lowerName.find("root") != std::string::npos) ||
|
||||
(lowerName.find("branch") != std::string::npos) ||
|
||||
(lowerName.find("thorn") != std::string::npos) ||
|
||||
(lowerName.find("moss") != std::string::npos) ||
|
||||
(lowerName.find("ivy") != std::string::npos) ||
|
||||
(lowerName.find("seaweed") != std::string::npos) ||
|
||||
(lowerName.find("kelp") != std::string::npos) ||
|
||||
(lowerName.find("cattail") != std::string::npos) ||
|
||||
(lowerName.find("reed") != std::string::npos);
|
||||
bool treeLike = (lowerName.find("tree") != std::string::npos);
|
||||
foliageOrTreeLike = (foliageName || treeLike);
|
||||
bool hardTreePart =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue