Minimap tile offsets corrected as specified by #6

This commit is contained in:
thedaneeffect committed 2021-08-26 14:37:27 -04:00
1 parent 7fc44f23f5
commit 17aa6da5ae
2 files changed
+1 -18

No files matched your search

-17
View File
@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_9">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-collections4:4.4" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-compress:1.20" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-math3:3.6.1" level="project" />
</component>
</module>
+1 -1
View File
@@ -1792,7 +1792,7 @@ public class Game extends GameShell {
Arrays.fill(pixels, 0);
for (int z = 1; z < 103; z++) {
int offset = (48 + (48 * 512)) + ((103 - z) * 512 * 4);
int offset = (52 + (48 * 512)) + ((103 - z) * 512 * 4);
for (int x = 1; x < 103; x++) {
if ((planeTileFlags[plane][x][z] & 0x18) == 0) {