Use own resources when buying boat in allied shipyard
This commit is contained in:
1 parent
839172cd30
commit
820c9be61b
3 files changed
+3
-4
No files matched your search
@@ -253,7 +253,7 @@ void ApplyGhNetPackVisitor::visitBuildBoat(BuildBoat & pack)
|
||||
if(gh.getPlayerRelations(gh.getOwner(pack.objid), gh.getPlayerAt(pack.c)) == PlayerRelations::ENEMIES)
|
||||
gh.throwAndComplain(&pack, "Can't build boat at enemy shipyard");
|
||||
|
||||
result = gh.buildBoat(pack.objid);
|
||||
result = gh.buildBoat(pack.objid, gh.getPlayerAt(pack.c));
|
||||
}
|
||||
|
||||
void ApplyGhNetPackVisitor::visitQueryReply(QueryReply & pack)
|
||||
|
||||
Reference in new issue
Block a user