Project

General

Profile

Actions

Bug #1457

open

redundant Action methods

Added by Alexandr Ignatiev 11 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Scripting API
Target version:
Start date:
05/26/2025
Due date:
% Done:

0%

Estimated time:

Description

api_find_action_by_name() and api_find_action() are unused duplicates of api_find_action_type_by_name() and api_find_action_type_by_id(). Actually, the first pair is older introduced in https://github.com/freeciv/freeciv/commit/0afafc7e5761d24e918e9e22934654cdb4d9d719 while the second somehow appeared in S3_1 with https://github.com/freeciv/freeciv/commit/f3a41d753ab5c8d9ef9d4b168395d933e7a184cd

No data to display

Actions

Also available in: Atom PDF