fix(worldbuilder): Fix height map undefined behavior - #3201
fix(worldbuilder): Fix height map undefined behavior#3201CryoTheRenegade wants to merge 1 commit into
Conversation
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can hide the parts of a finding you never read, like the evidence or the agent prompt |
PR Summary by QodoFix undefined height map editor behavior
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
|
How would this undefined behaviour show in the game? |
|
Function: Looks like it just does unnecessary work. Function: Cannot be Ideally, all parameters for that function are passed by reference, but that's a larger change as there are many functions in that class that pass by pointer. |
Initialize
anyChangestofalsesoremapTextures()returns a defined value when no texture classes change.Return from
findBoundaryNear()after handling a null point to prevent a null dereference.Found with clang-tidy