Fixed a Segmentation Fault when mr_iceblock was kicked into a brick containing coins...
[supertux.git] / src / object / path_walker.cpp
index 840e924..a34db12 100644 (file)
 #include <math.h>
 #include <assert.h>
 
-PathWalker::PathWalker(const Path* path, bool running) :
-  path(path), 
-  running(running), 
-  current_node_nr(0), 
-  next_node_nr(0), 
-  stop_at_node_nr(running?-1:0), 
+PathWalker::PathWalker(const Path* path_, bool running_) :
+  path(path_),
+  running(running_),
+  current_node_nr(0),
+  next_node_nr(0),
+  stop_at_node_nr(running?-1:0),
   node_time(0),
   node_mult(),
   walking_speed(1.0)