[Scummvm-cvs-logs] scummvm master -> 1dc8ae58e40c08e1e50cfe8c892b3dac27abdafd

sev- sev at scummvm.org
Sat Aug 20 21:00:53 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
1dc8ae58e4 FULLPIPE: Fix getCurrPoint(). Now Dude walks almost perfectly. Kudos to wanwan


Commit: 1dc8ae58e40c08e1e50cfe8c892b3dac27abdafd
    https://github.com/scummvm/scummvm/commit/1dc8ae58e40c08e1e50cfe8c892b3dac27abdafd
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-08-20T21:00:45+02:00

Commit Message:
FULLPIPE: Fix getCurrPoint(). Now Dude walks almost perfectly. Kudos to wanwan

Changed paths:
    engines/fullpipe/statics.cpp



diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp
index 552a17e..22be04b 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;
 }






More information about the Scummvm-git-logs mailing list