[freeciv/freeciv] 3119d6: AI: Remove dai_players_can_agree_on_ceasefire()

freeciv-commits <[email protected]>
Newsgroups gmane.games.freeciv.devel
Message-ID <freeciv/freeciv/push/refs/heads/main/[email protected]>
  Branch: refs/heads/main
  Home:   https://github.com/freeciv/freeciv
  Commit: 3119d6b30bf69d3b433e509ff615a9b44fd35cb3
      https://github.com/freeciv/freeciv/commit/3119d6b30bf69d3b433e509ff615a9b44fd35cb3
  Author: Marko Lindqvist <[email protected]>
  Date:   2026-02-25 (Wed, 25 Feb 2026)

  Changed paths:
    M ai/default/daidiplomacy.c

  Log Message:
  -----------
  AI: Remove dai_players_can_agree_on_ceasefire()

It's only use was a redundant one.
It was used to check if ceasefire value should be set
to zero instead of negative value. But when ever
that happened, ceasefire value was set to zero by
the normal value evaluation anyway.

See RM #1927

Signed-off-by: Marko Lindqvist <[email protected]>



To unsubscribe from these emails, change your notification settings at https://github.com/freeciv/freeciv/settings/notifications
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.