From 99bf6d0637c8a96b629ad1a76ccd52c806c92f3c Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 11 Feb 2001 13:50:39 +0000 Subject: [PATCH] bugfix owners IV --- src/common/gamecode/laws.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/gamecode/laws.c b/src/common/gamecode/laws.c index 460b2ec60..20b95fac6 100644 --- a/src/common/gamecode/laws.c +++ b/src/common/gamecode/laws.c @@ -1,6 +1,6 @@ /* vi: set ts=2: * - * $Id: laws.c,v 1.15 2001/02/11 13:25:19 enno Exp $ + * $Id: laws.c,v 1.16 2001/02/11 13:50:39 enno Exp $ * Eressea PB(E)M host Copyright (C) 1998-2000 * Christian Schlittchen (corwin@amber.kn-bremen.de) * Katja Zedel (katze@felidae.kn-bremen.de) @@ -2123,7 +2123,7 @@ reorder_owners(region * r) unit ** insert; if (fval(u, FL_OWNER)) insert=ubegin; else insert = uend; - if (insert!=up) { + if (insert!=useek) { *useek = u->next; /* raus aus der liste */ u->next = *insert; *insert = u; @@ -2162,7 +2162,7 @@ reorder_owners(region * r) unit ** insert; if (fval(u, FL_OWNER)) insert=ubegin; else insert = uend; - if (insert!=up) { + if (insert!=useek) { *useek = u->next; /* raus aus der liste */ u->next = *insert; *insert = u;