mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
EPathfindingLayer: fix obvious layer over-allocation in CPathsInfo
This commit is contained in:
parent
adeefe903a
commit
d19cb5ce89
@ -750,7 +750,7 @@ class DLL_LINKAGE EPathfindingLayer
|
|||||||
public:
|
public:
|
||||||
enum EEPathfindingLayer : ui8
|
enum EEPathfindingLayer : ui8
|
||||||
{
|
{
|
||||||
WRONG = 0, AUTO = 1, LAND = 2, SAIL = 3, WATER, AIR, NUM_LAYERS
|
LAND = 0, SAIL = 1, WATER, AIR, NUM_LAYERS, WRONG, AUTO
|
||||||
};
|
};
|
||||||
|
|
||||||
EPathfindingLayer(EEPathfindingLayer _num = WRONG) : num(_num)
|
EPathfindingLayer(EEPathfindingLayer _num = WRONG) : num(_num)
|
||||||
|
Loading…
Reference in New Issue
Block a user