From 4eb5ee6e77f983018911742c5c36561a396cfedb Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Tue, 5 Jan 2016 20:36:01 -0500 Subject: [PATCH] Fix crash due to goal checklines not initializing properly --- src/tracks/check_goal.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tracks/check_goal.cpp b/src/tracks/check_goal.cpp index 792fc2d7f..3f578eced 100644 --- a/src/tracks/check_goal.cpp +++ b/src/tracks/check_goal.cpp @@ -115,6 +115,8 @@ bool CheckGoal::isTriggered(const Vec3 &old_pos, const Vec3 &new_pos, // ---------------------------------------------------------------------------- void CheckGoal::reset(const Track &track) { + CheckStructure::reset(track); + const TrackObjectManager* tom = track.getTrackObjectManager(); assert(tom);