mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
- catapult attacks should be identical to H3
- catapult may miss and attack another part of wall instead (this is how it works in H3) - minor fixes
This commit is contained in:
@@ -444,7 +444,7 @@ namespace EWallParts
|
||||
enum EWallParts
|
||||
{
|
||||
INDESTRUCTIBLE_PART = -2, INVALID = -1,
|
||||
KEEP = 0, BOTTOM_TOWER, BOTTOM_WALL, BELOW_GATE, OVER_GATE, UPPER_WAL, UPPER_TOWER, GATE,
|
||||
KEEP = 0, BOTTOM_TOWER, BOTTOM_WALL, BELOW_GATE, OVER_GATE, UPPER_WALL, UPPER_TOWER, GATE,
|
||||
PARTS_COUNT
|
||||
};
|
||||
}
|
||||
@@ -453,10 +453,12 @@ namespace EWallState
|
||||
{
|
||||
enum EWallState
|
||||
{
|
||||
NONE, //no wall
|
||||
INTACT,
|
||||
NONE = -1, //no wall
|
||||
DESTROYED,
|
||||
DAMAGED,
|
||||
DESTROYED
|
||||
INTACT
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user