This was discussed before:
https://forum.megaglest.org/index.php?topic=7630I disabled fog of war at the beginning of this problem.
While I was experimenting with my new medieval mod, I came across an old issue that when you switch teams, your former allies disappear on the world and minimap, and until you revisit your new opponents or switch back, the units come back on both.
Screenshots below.
I am on the Red team; Blue and Green are my former allies, while yellow is my new (once an opponent) ally when recently switched; then switched back to my former allies and yellow is an opponent again.
Note that shared units and resources are disabled.
View on the Green team:



Also the team numbers are incorrect, I and the two others were in team 1, not team 0; the yellow was team 2, not 1.