Skip to content

Commit

Permalink
fix segv
Browse files Browse the repository at this point in the history
  • Loading branch information
rtri committed Aug 15, 2019
1 parent ea698db commit fde005e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Sim/Misc/QuadField.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ void CQuadField::GetQuadsOnRay(QuadFieldQuery& qfq, const float3& start, const f
dir.AssertNaNs();
start.AssertNaNs();

auto& queryQuads = *tempQuads.ReserveVector();
auto& queryQuads = *(qfq.quads = tempQuads.ReserveVector());

const float3 to = start + (dir * length);

Expand Down

0 comments on commit fde005e

Please sign in to comment.