Fixed a horrible region coordinate bug
Coordinates are supposed to be stored by their x & y, but the sizes of the tile sheets were getting mixed in as well. When trying to store a region at (0, 20), it was being stored at (0, 260). Another visual bug inside the tile sheet's rendering function masked this issue until now. Another thing to note is that I've removed an incredibly complex system for updating the client's map. The new system may seem complex at first, but it is straight forward compared to what it replaced. I've also fixed a few logarithmic lagging points in the code.
This commit is contained in:
@@ -86,7 +86,6 @@ protected:
|
||||
void RequestRegion(int x, int y);
|
||||
|
||||
//utilities
|
||||
int CheckBufferDistance(Region* const);
|
||||
void UpdateMap();
|
||||
|
||||
//globals
|
||||
|
||||
Reference in New Issue
Block a user