--- deliantra/server/include/treasure.h 2012/10/29 23:55:54 1.32 +++ deliantra/server/include/treasure.h 2018/12/05 19:03:27 1.36 @@ -1,7 +1,8 @@ /* * This file is part of Deliantra, the Roguelike Realtime MMORPG. * - * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012 Marc Alexander Lehmann / Robin Redeker / the Deliantra team + * Copyright (©) 2017,2018 Marc Alexander Lehmann / the Deliantra team + * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team * Copyright (©) 2002 Mark Wedel & Crossfire Development Team * Copyright (©) 1992 Frank Tore Johansen * @@ -59,7 +60,7 @@ * TODO: It is a bad way to implement this with a special structure. * Because the real arch list is a at runtime not changed, we can grap for example * here a clone of the arch, store it in the treasure list and then run the original - * arch parser over this clone, using the treasure list as script until an END comes. + * arch parser over this clone, using the treasure list as script until an END comes. * This will allow ANY changes which is possible and we use ony one parser. */ @@ -121,7 +122,7 @@ inline void object_freezer::put (const keyword_string k, treasurelist *v) { - if (expect_true (v)) + if (ecb_expect_true (v)) put (k, v->name); else put (k);