Skip to content
Permalink
Browse files

fix segv

  • Loading branch information...
rtri
rtri committed Aug 15, 2019
1 parent ea698db commit fde005e2c3918d7d4b376cf97a85d43d6b166caa
Showing with 1 addition and 1 deletion.
  1. +1 −1 rts/Sim/Misc/QuadField.cpp
@@ -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);

0 comments on commit fde005e

Please sign in to comment.
You can’t perform that action at this time.