Переглянути джерело

bug: ixed an issue in blocking tile indices that was causing some water tiles to be walkable (continued)

tags/v0.9.0^2
Shaun 3 роки тому
джерело
коміт
f22137aa54
1 змінених файлів з 2 додано та 1 видалено
  1. +2
    -1
      src/server/config/clientConfig.js

+ 2
- 1
src/server/config/clientConfig.js Переглянути файл

@@ -249,7 +249,8 @@ module.exports = {
tileCountBeforeSheet += ((width / 8) * (height / 8));
}

const result = tileCountBeforeSheet + tileIndexInSource;
//Tile index 0 is 'no tile' in map files so we need to increment by 1
const result = tileCountBeforeSheet + tileIndexInSource + 1;

return result;
},


Завантаження…
Відмінити
Зберегти