Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2001:
[Freeciv-Dev] patch: fix recent commit
Home

[Freeciv-Dev] patch: fix recent commit

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] patch: fix recent commit
From: Jason Dorje Short <jshort@xxxxxxxxxxxxx>
Date: Fri, 27 Jul 2001 22:21:56 -0400

A recent commit passed pointers to is_real_tile instead of integer
values.

jason
Index: server/mapgen.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/mapgen.c,v
retrieving revision 1.69
diff -u -r1.69 mapgen.c
--- server/mapgen.c     2001/07/27 23:48:05     1.69
+++ server/mapgen.c     2001/07/28 02:21:02
@@ -1583,7 +1583,7 @@
       if (hmap(x, y)) {
        int map_x = x + xo - w;
        int map_y = y + yo - n;
-       assert(is_real_tile(&map_x, &map_y));
+       assert(is_real_tile(map_x, map_y));
        normalize_map_pos(&map_x, &map_y);
 
        checkmass--; 

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] patch: fix recent commit, Jason Dorje Short <=