--- deliantra/server/random_maps/standalone.C 2006/08/13 17:16:03 1.1 +++ deliantra/server/random_maps/standalone.C 2006/08/29 08:01:36 1.2 @@ -1,6 +1,6 @@ /* * static char *rcsid_standalone_c = - * "$Id: standalone.C,v 1.1 2006/08/13 17:16:03 elmex Exp $"; + * "$Id: standalone.C,v 1.2 2006/08/29 08:01:36 root Exp $"; */ /* @@ -90,9 +90,9 @@ do { i=10; /* let's give it 10 tries */ while((tmp=generate_treasure(op->randomitems,op->stats.exp? - op->stats.exp:5))==NULL&&--i); + op->stats.exp:5))==NULL&&--i); if(tmp==NULL) - return 0; + return 0; if(QUERY_FLAG(tmp, FLAG_CURSED) || QUERY_FLAG(tmp, FLAG_DAMNED)) { free_object(tmp);