Auto-translated
SetWarfogBehaviour(onLand, onSea);
Instead of onLand, write 0 so that the player cannot "remove" the fog of war while moving on land; otherwise, write 1.
Instead of onSea, write 0 so that the player cannot "remove" the fog of war while moving on water.
Instead of onLand, write 0 so that the player cannot "remove" the fog of war while moving on land; otherwise, write 1.
Instead of onSea, write 0 so that the player cannot "remove" the fog of war while moving on water.