From 45223500f7a5f661adea71e57010b018bac2cf32 Mon Sep 17 00:00:00 2001 From: Bertram Date: Thu, 29 Oct 2009 01:07:11 +0100 Subject: Mostly fixed the walk on water bug... But... The current code tells that the character must stop in the middle of a tile when the tile to the north is blocking. But even now with respecting this, the player is still on water. So, what to do? Correct the water tile? --- src/being.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/being.cpp') diff --git a/src/being.cpp b/src/being.cpp index 6542a14b..feec617a 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -165,9 +165,6 @@ void Being::setDestination(int dstX, int dstY) return; } - // FIXME: Look into making this code neater. - // Interpolate the offsets. Also convert from tile based to pixel based - // Find the starting offset float startX = (srcX % 32); float startY = (srcY % 32); -- cgit v1.2.3-70-g09d2