naval transports disembark troops on the other side of the sea

bugfix for selecting garrisoned units
bugfix for selecting cell id with depth check
This commit is contained in:
devZoGok
2026-03-15 15:21:11 +02:00
parent 63ad44b3b8
commit 27d1cdbe0c
9 changed files with 103 additions and 24 deletions
+5 -1
View File
@@ -49,7 +49,11 @@ namespace battleship{
void Vehicle::startCurrentOrder(){
Unit::startCurrentOrder();
if(orders[0].type == Order::TYPE::LAUNCH) return;
switch(orders[0].type){
case Order::TYPE::LAUNCH:
case Order::TYPE::EJECT:
return;
}
removeAllPathpoints();