davidlallen
Deity
In Dune Wars, Maniac has written some code to allow units with DOMAIN_SEA and the flag bCanMoveAllTerrain. Think of them like galleys or triremes that can travel on land. They can attack land units. When a regular unit is selected and I hold down the right mouse button over an enemy unit, I get a combat odds hover help. My problem is that when I select an all terrain unit and hold down the right mouse button over the enemy unit, no combat odds are displayed.
This mod is based on top of RevDCM and BUG. I suspect something in the combat odds routine decides early on that a DOMAIN_SEA unit cannot attack a DOMAIN_LAND, without checking bCanMoveAllTerrain. So it exits the routine with no display. But when I actually execute the attack, that works fine.
Any suggestions about where to add the missing check for bCanMoveAllTerrain?
This mod is based on top of RevDCM and BUG. I suspect something in the combat odds routine decides early on that a DOMAIN_SEA unit cannot attack a DOMAIN_LAND, without checking bCanMoveAllTerrain. So it exits the routine with no display. But when I actually execute the attack, that works fine.
Any suggestions about where to add the missing check for bCanMoveAllTerrain?