Fix most of the clipping (minor stuff with doors left)

This commit is contained in:
dginovker
2019-12-20 12:35:12 -05:00
parent 00500a072b
commit 13977992d7
8 changed files with 12 additions and 19 deletions
@@ -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;