Question: Fort changes tile ownership

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
User avatar
Corbeau
Elite
Posts: 890
Joined: Mon Jan 13, 2014 11:13 pm

Question: Fort changes tile ownership

Postby Corbeau » Fri Dec 21, 2018 8:17 pm

We're playing a game with this:

Code: Select all

[base_fortress]
(...)
border_sq      = -1


Allegedly, this should make fortress NOT claim tile ownership. However, it seems that it does claim it. Any idea what's going on?

User avatar
Dino the Dinosore
Posts: 44
Joined: Sun Dec 31, 2017 3:41 am

Re: Question: Fort changes tile ownership

Postby Dino the Dinosore » Sat Dec 22, 2018 3:24 am

Could be that the code is treating the value as unsigned, which makes it effectively 255. I heard that something similar was responsible for Ghandi becoming so murderous. Maybe try 0?

Akechi
Posts: 31
Joined: Thu Dec 07, 2017 12:17 pm

Re: Question: Fort changes tile ownership

Postby Akechi » Sat Dec 22, 2018 11:18 am

Corbeau wrote:Allegedly, this should make fortress NOT claim tile ownership. However, it seems that it does claim it. Any idea what's going on?
Is there any other border generating something?
I think other city is in near...
Have you tried middle clicking on the fortress and check who claimed the tile?
Attachments
unclaimed_fortress_in_260.png

User avatar
Corbeau
Elite
Posts: 890
Joined: Mon Jan 13, 2014 11:13 pm

Re: Question: Fort changes tile ownership

Postby Corbeau » Sun Dec 23, 2018 7:23 am

Thanks, I'll check it.