Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2004:
[Freeciv-Dev] Add worldwide notify when barbarian created (PR#370)
Home

[Freeciv-Dev] Add worldwide notify when barbarian created (PR#370)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: brunel@xxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Add worldwide notify when barbarian created (PR#370)
From: "Per Inge Mathisen" <per@xxxxxxxxxxx>
Date: Sat, 26 Jun 2004 06:24:19 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=370 >

As requested four years ago in this ticket. We may be late, we may be
lazy, but we get to it eventually! ;-)

  - Per

Index: server/barbarian.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/barbarian.c,v
retrieving revision 1.74
diff -u -r1.74 barbarian.c
--- server/barbarian.c  24 Feb 2004 07:43:14 -0000      1.74
+++ server/barbarian.c  26 Jun 2004 13:21:39 -0000
@@ -151,6 +151,9 @@
 
   freelog(LOG_VERBOSE, "Created barbarian %s, player %d",
           barbarians->name, barbarians->player_no);
+  notify_player_ex(NULL, -1, -1, E_UPRISING,
+                   _("Barbarians gain a leader by the name %s.  Dangerous "
+                     "times may lie ahead."), barbarians->name);
 
   send_game_info(NULL);
   send_player_info(barbarians, NULL);

[Prev in Thread] Current Thread [Next in Thread]