mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
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:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user