ihhub / fheroes2

fheroes2 is a recreation of Heroes of Might and Magic II game engine.
https://ihhub.github.io/fheroes2/
GNU General Public License v2.0
2.69k stars 375 forks source link

Adventure map, wrong terrain name displayed for squares near the sea #4784

Open LeHerosInconnu opened 2 years ago

LeHerosInconnu commented 2 years ago

Preliminary checks

Platform

Windows

Describe the bug

In fheroes2, there is a wrong terrain name displayed for squares near the sea.

In original game:

The square south of the active castle square is a "Grass" terrain: Squares near sea 012 Squares near sea 013

The square near the sea south of the first castle is a "Grass" terrain: Squares near sea 014 Squares near sea 015

The square near the sea south of the second castle is a "Grass" terrain: Squares near sea 016 Squares near sea 017

On the minimap, the squares near the sea are accordingly represented as "Grass" terrains: Squares near sea 018

In fheroes2:

The square south of the active castle square is indicated as a "Beach" terrain, this is not correct, it should be a "Grass" terrain: (There is also a square information window bug reported here: https://github.com/ihhub/fheroes2/issues/4782.) Squares near sea 001 Squares near sea 002

The square near the sea south of the first castle is indicated as a "Beach" terrain, this is not correct, it should be a "Grass" terrain: Squares near sea 003 Squares near sea 004

The square south of the active castle square of the second castle is indicated as a "Beach" terrain, this is not correct, it should be a "Road" terrain: Squares near sea 005 Squares near sea 006

The second square south of the active castle square and near the sea of the second castle is indicated as a "Beach" terrain, this is not correct, it should be a "Road" terrain: Squares near sea 007 Squares near sea 008

The square near the sea south of the second castle is indicated as a "Beach" terrain, this is not correct, it should be a "Grass" terrain: Squares near sea 009 Squares near sea 010

On the minimap, the squares near the sea are accordingly represented as "Grass" terrains: Squares near sea 011

Here is the test scenario file: 0 9941.zip

Save file

Not needed.

Additional info

No response

oleg-derevenetz commented 2 years ago

Please note that the inscription "Beach" has nothing to do with terrain, it's an OBJ_COAST - that is, it shows that it is possible to disembark at this place.