mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: invert button mapping for start/end pos of tester tool
Make the left mouse button set the start pos, and right mouse button (or shift + lmb) set the end pos.
This commit is contained in:
parent
59f6ea52dc
commit
aca1e7af96
@ -406,7 +406,7 @@ void NavMeshTesterTool::handleMenu()
|
||||
|
||||
void NavMeshTesterTool::handleClick(const float* /*s*/, const float* p, bool shift)
|
||||
{
|
||||
if (shift)
|
||||
if (!shift)
|
||||
{
|
||||
m_sposSet = true;
|
||||
dtVcopy(m_spos, p);
|
||||
|
Loading…
x
Reference in New Issue
Block a user