From dc544edb8c341f296550b0e8dc42630e009850a1 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 10 Dec 2022 16:54:08 +0200 Subject: [PATCH 52/52] AI: Update comments referring to old ai_unit_new_role() See osdn #46177 Signed-off-by: Marko Lindqvist --- ai/default/aihunt.c | 2 +- ai/default/daisettler.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ai/default/aihunt.c b/ai/default/aihunt.c index 26068c4d8c..f12a53932c 100644 --- a/ai/default/aihunt.c +++ b/ai/default/aihunt.c @@ -300,7 +300,7 @@ bool dai_hunter_qualify(struct player *pplayer, struct unit *punit) /**********************************************************************//** Try to shoot our target with a missile. Also shoot down anything that might attempt to intercept _us_. We assign missiles to a hunter in - ai_unit_new_role(). + dai_unit_new_task(). **************************************************************************/ static void dai_hunter_try_launch(struct ai_type *ait, struct player *pplayer, diff --git a/ai/default/daisettler.c b/ai/default/daisettler.c index 09a98274fe..6434ba3101 100644 --- a/ai/default/daisettler.c +++ b/ai/default/daisettler.c @@ -1069,7 +1069,7 @@ BUILD_CITY: } } else { UNIT_LOG(LOG_DEBUG, punit, "could not go to target"); - /* ai_unit_new_role(punit, AIUNIT_NONE, NULL); */ + /* dai_unit_new_task(ait, punit, AIUNIT_NONE, NULL); */ return; } } -- 2.35.1