mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-10-01 18:07:49 +00:00
Fix most of the clipping (minor stuff with doors left)
This commit is contained in:
@@ -289,7 +289,7 @@ public class Region {
|
||||
return projectileClips[height][x - regionAbsX][y - regionAbsY];
|
||||
}
|
||||
|
||||
private static void addClipping(int x, int y, int height, int shift) {
|
||||
public static void addClipping(int x, int y, int height, int shift) {
|
||||
int regionX = x >> 3;
|
||||
int regionY = y >> 3;
|
||||
int regionId = (regionX / 8 << 8) + regionY / 8;
|
||||
|
||||
Reference in New Issue
Block a user