From 061f0c1d9eda240eace4b638575f0fca1d1a3b1c Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Fri, 20 Jul 2012 17:54:31 -0500 Subject: typo, fixed --- src/koopatlas/pathmanager.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/koopatlas') diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp index f33bc7b..50c1ee2 100644 --- a/src/koopatlas/pathmanager.cpp +++ b/src/koopatlas/pathmanager.cpp @@ -272,6 +272,9 @@ void dWMPathManager_c::moveThroughPath() { keysY[2] = (HermiteKey){ to->y, 0.0, 1.0 }; float modY = GetHermiteCurveValue(player->pos.y, keysY, 3); + OSReport("From: %f", from->y); + OSReport("ModY: %f", modY); + OSReport("Pos: %f", player->pos.y); OSReport("From: %f to %f, midpoint at: %f, pos at %f, Y mod: %f", from->y, to->y, midpoint, player->pos.y, modY); player->pos.x += move.x; -- cgit v1.2.3