[Freeciv-Dev] Re: (PR#14291) global warming LOG_NORMAL
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14291 >
Jason Short wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=14291 >
>
> The global warming event sends a LOG_NORMAL message to the console.
> This should be fixed.
These patches changed it to LOG_VERBOSE.
-jason
Index: server/maphand.c
===================================================================
--- server/maphand.c (revision 11111)
+++ server/maphand.c (working copy)
@@ -216,7 +216,7 @@
{
int k;
- freelog(LOG_NORMAL, "Global warming: %d", game.info.heating);
+ freelog(LOG_VERBOSE, "Global warming: %d", game.info.heating);
k = map_num_tiles();
while(effect > 0 && (k--) > 0) {
@@ -260,7 +260,7 @@
{
int k;
- freelog(LOG_NORMAL, "Nuclear winter: %d", game.info.cooling);
+ freelog(LOG_VERBOSE, "Nuclear winter: %d", game.info.cooling);
k = map_num_tiles();
while(effect > 0 && (k--) > 0) {
Index: server/maphand.c
===================================================================
--- server/maphand.c (revision 11111)
+++ server/maphand.c (working copy)
@@ -204,7 +204,7 @@
{
int k;
- freelog(LOG_NORMAL, "Global warming: %d", game.heating);
+ freelog(LOG_VERBOSE, "Global warming: %d", game.heating);
k = map_num_tiles();
while(effect > 0 && (k--) > 0) {
@@ -246,7 +246,7 @@
{
int k;
- freelog(LOG_NORMAL, "Nuclear winter: %d", game.cooling);
+ freelog(LOG_VERBOSE, "Nuclear winter: %d", game.cooling);
k = map_num_tiles();
while(effect > 0 && (k--) > 0) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: (PR#14291) global warming LOG_NORMAL,
Jason Short <=
|
|