bugfix for not garrisonning transport ships

moved resource deposits on the river map
bugfix for not rendering the minimap after opening the console
This commit is contained in:
devZoGok
2026-05-14 20:26:44 +03:00
parent 060dd94bc0
commit 157ffeab7c
8 changed files with 35 additions and 11 deletions
+1 -1
View File
@@ -345,7 +345,7 @@ namespace battleship{
bool buildOrder = (order.type == Order::TYPE::BUILD);
bool resourceOrder = (order.type == Order::TYPE::LOAD || order.type == Order::TYPE::UNLOAD || order.type == Order::TYPE::SUPPLY);
if(blockingUnit && blockingUnit != this && !resourceOrder && !buildOrder && (!garrisonOrder || (garrisonOrder && blockingUnit != (Unit*)targObj))){
if(blockingUnit && blockingUnit != this && !resourceOrder && !buildOrder && !garrisonOrder){
vector<int> surrCellIds = map->getSurroundingCells(cells[dest].pos, 1);
int altDest = -1;