View Single Post
  #25  
Unread 08-20-2005, 03:55 AM
nomas nomas is offline
A Dervish Cutthroat
 
Join Date: Jul 2005
Server: Antonia Bayle
Posts: 38
Default

I have headarche in converting aberration.

1. pathfindX := -(MapZonerect.Left + x * (MapZoneRect.Right - MapZoneRect.Left + 1) / MapWidth);
2. pathfindX := (Mapzonerect.Left + x) * MapWidth / (MapZoneRect.Right - MapZoneRect.Left + 1);

Is this formula incorrect?
Reply With Quote