projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
EnableKeyRepeat while console is open.
[supertux.git]
/
src
/
object
/
path_walker.cpp
diff --git
a/src/object/path_walker.cpp
b/src/object/path_walker.cpp
index
a44b157
..
d0d55dd
100644
(file)
--- a/
src/object/path_walker.cpp
+++ b/
src/object/path_walker.cpp
@@
-24,7
+24,7
@@
#include "path_walker.hpp"
PathWalker::PathWalker(const Path* path, bool running)
#include "path_walker.hpp"
PathWalker::PathWalker(const Path* path, bool running)
- : path(path), running(running), current_node_nr(0), next_node_nr(0), stop_at_node_nr(
-1
), node_time(0),
+ : path(path), running(running), current_node_nr(0), next_node_nr(0), stop_at_node_nr(
running?-1:0
), node_time(0),
walking_speed(1.0)
{
last_pos = path->nodes[0].position;
walking_speed(1.0)
{
last_pos = path->nodes[0].position;