CPU players capture spawn points

This commit is contained in:
devZoGok
2026-03-15 15:21:11 +02:00
parent a3b6dbc93c
commit 35fb88cb9a
6 changed files with 134 additions and 195 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ namespace battleship{
break;
}
if(!u->isVehicle() && ((Structure*)u)->getBuildStatus() < 100){
if(!u->isVehicle() && ((Structure*)u)->isComplete()){
structBuilt = false;
break;
}