author | nireco |
Thu, 04 Dec 2008 16:44:55 +0000 | |
changeset 191 | 98fcc0843335 |
parent 190 | 12fea0d2d0df |
child 192 | f9b5a75cd8cb |
src/Physics.cc | file | annotate | diff | comparison | revisions |
--- a/src/Physics.cc Thu Dec 04 15:06:08 2008 +0000 +++ b/src/Physics.cc Thu Dec 04 16:44:55 2008 +0000 @@ -115,7 +115,7 @@ float walkAmount = (velocity*dt)/1000; Vector reached = this->position; while(walkAmount > 0) { - walk_one_step((1 < walkAmount ? 1 : walkAmount), right); + reached = walk_one_step((1 < walkAmount ? 1 : walkAmount), right); walkAmount--; } return reached;