--- deliantra/server/random_maps/random_map.C 2009/11/06 13:03:34 1.44 +++ deliantra/server/random_maps/random_map.C 2010/03/26 00:59:21 1.46 @@ -2,8 +2,8 @@ * This file is part of Deliantra, the Roguelike Realtime MMORPG. * * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team - * Copyright (©) 2001,2007 Mark Wedel & Crossfire Development Team - * Copyright (©) 1992,2007 Frank Tore Johansen + * Copyright (©) 2001 Mark Wedel & Crossfire Development Team + * Copyright (©) 1992 Frank Tore Johansen * * Deliantra is free software: you can redistribute it and/or modify it under * the terms of the Affero GNU General Public License as published by the @@ -456,7 +456,7 @@ strcat (buf, small_buf); } - if (RP->difficulty_increase != 1.0) + if (fabs (RP->difficulty_increase - 1.f) >= (1.f / 1024.f)) { sprintf (small_buf, "difficulty_increase %f\n", RP->difficulty_increase); strcat (buf, small_buf);