[Fix] Pathfinding bug in Warship Warship (#4274)

> **Before opening a PR:** discuss new features on
[Discord](https://discord.gg/K9zernJB5z) first, and file bugs or small
improvements as
[issues](https://github.com/openfrontio/OpenFrontIO/issues/new/choose).
You must be assigned to an `approved` issue — unsolicited PRs will be
auto-closed.

**Add approved & assigned issue number here:**

Resolves #4273 

## Description:

Minor pathfinding bugs to do with the weird corners in Warship Warship.
Boats are unable to exit some of the corners for no reason.
This bugfix simply adds 2 blue pixels to all the glitched corners.
Credit to @RickD004 for adding the pixels


<img width="1265" height="674" alt="Screenshot 2026-06-13 223641"
src="https://github.com/user-attachments/assets/5802d5ae-14cb-4159-ab70-454e1c73dfae"
/>
<img width="1262" height="688" alt="Screenshot 2026-06-13 223702"
src="https://github.com/user-attachments/assets/c3d5c1d5-98f6-4322-87b0-134cfc916d1d"
/>

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory

## Please put your Discord username so you can be contacted if a bug or
regression is found:

DISCORD_USERNAME crunchybbbbb
This commit is contained in:
crunchybbb
2026-06-14 08:49:17 -07:00
committed by GitHub
parent 8b9bda1c8b
commit 1c5122e2d2
6 changed files with 6 additions and 23854 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

+3 -3
View File
@@ -95,17 +95,17 @@
"id": "WarshipWarship", "id": "WarshipWarship",
"map": { "map": {
"height": 1396, "height": 1396,
"num_land_tiles": 1122359, "num_land_tiles": 1122343,
"width": 3000 "width": 3000
}, },
"map16x": { "map16x": {
"height": 349, "height": 349,
"num_land_tiles": 68556, "num_land_tiles": 68553,
"width": 750 "width": 750
}, },
"map4x": { "map4x": {
"height": 698, "height": 698,
"num_land_tiles": 279836, "num_land_tiles": 279822,
"width": 1500 "width": 1500
}, },
"multiplayer_frequency": 3, "multiplayer_frequency": 3,
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB