ddnet/src
Zwelf e3147ce53d Simplify ninja code
Reasoning this change is correct:

* `OldPos` is set to `m_Pos` in line 260
* `m_Pos` is not modified in between line 260 and 272 (only `m_Core.m_Pos` gets modified)
* Therefore line 269 `Dir = m_Pos - OldPos` is always `vec2(0.0, 0.0)`.
* And line 271 `Center = OldPos + Dir * 0.5 = OldPos`.

So we can pass `OldPos` to `FindEntities` in line 272. Using `OldPos` here instead of `m_Pos` makes it clear, that we use the position before the move, even though `m_Pos` also still holds the old value.
2022-12-30 18:23:26 +01:00
..
android Add tests for overloaded hash operators, use operator instead 2022-11-12 20:36:38 +01:00
antibot Merge pull request #3961 from fokkonaut/pr-antibot 2021-12-19 19:33:56 +01:00
base Merge #6191 2022-12-28 20:59:17 +00:00
engine Prevent temporary demo file from being deleted multiple times 2022-12-30 14:20:42 +01:00
game Simplify ninja code 2022-12-30 18:23:26 +01:00
macos Huge variable naming format 2022-07-08 18:01:29 +02:00
mastersrv Add README.md for the mastersrv, briefly explaining the setup 2022-12-21 13:11:57 +01:00
rust-bridge Fix being run from rust-analyzer with a clean environment 2022-11-09 15:09:42 +01:00
steam Huge variable naming format 2022-07-08 18:01:29 +02:00
test Allow translations to reorder string substitutions 2022-12-25 21:45:26 +01:00
tools Fix optional arguments of map_create_pixelart tool 2022-11-29 23:32:26 +01:00