summaryrefslogtreecommitdiff
path: root/src/pathfinder/follow_track.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathfinder/follow_track.hpp')
-rw-r--r--src/pathfinder/follow_track.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfinder/follow_track.hpp b/src/pathfinder/follow_track.hpp
index 8656a4f05..c32b7b704 100644
--- a/src/pathfinder/follow_track.hpp
+++ b/src/pathfinder/follow_track.hpp
@@ -456,7 +456,7 @@ public:
}
/* if min speed was requested, return it */
- if (pmin_speed) *pmin_speed = min_speed;
+ if (pmin_speed != NULL) *pmin_speed = min_speed;
return max_speed;
}
};