diff options
author | Eugene Sandulenko | 2016-08-20 21:00:09 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-20 21:00:45 +0200 |
commit | 1dc8ae58e40c08e1e50cfe8c892b3dac27abdafd (patch) | |
tree | 38ecd0c086e18fb1049464e62db1b0fe21d9168f /engines | |
parent | 847b9c847251f8ef0d7b7970e29efea928fc53b2 (diff) | |
download | scummvm-rg350-1dc8ae58e40c08e1e50cfe8c892b3dac27abdafd.tar.gz scummvm-rg350-1dc8ae58e40c08e1e50cfe8c892b3dac27abdafd.tar.bz2 scummvm-rg350-1dc8ae58e40c08e1e50cfe8c892b3dac27abdafd.zip |
FULLPIPE: Fix getCurrPoint(). Now Dude walks almost perfectly. Kudos to wanwan
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/statics.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp index 552a17e3eb..22be04b393 100644 --- a/engines/fullpipe/statics.cpp +++ b/engines/fullpipe/statics.cpp @@ -69,7 +69,8 @@ Common::Point *StepArray::getCurrPoint(Common::Point *point) { point->x = 0; point->y = 0; } else { - point = _points[_currPointIndex]; + point->x = _points[_currPointIndex]->x; + point->y = _points[_currPointIndex]->y; } return point; } |