Don't pass non-const references to collision methods
Non const references cause a lot of confusion with behaviour of code, and are disallowed by minetest style guide.
Showing
- src/collision.cpp 74 additions, 80 deletionssrc/collision.cpp
- src/collision.h 3 additions, 3 deletionssrc/collision.h
- src/content_cao.cpp 1 addition, 3 deletionssrc/content_cao.cpp
- src/content_sao.cpp 1 addition, 1 deletionsrc/content_sao.cpp
- src/localplayer.cpp 2 additions, 2 deletionssrc/localplayer.cpp
- src/particles.cpp 1 addition, 3 deletionssrc/particles.cpp
- src/unittest/test_collision.cpp 16 additions, 16 deletionssrc/unittest/test_collision.cpp
Loading
Please register or sign in to comment