--- deliantra/server/include/util.h 2007/01/18 19:32:37 1.32 +++ deliantra/server/include/util.h 2007/01/18 22:20:00 1.33 @@ -209,7 +209,7 @@ // return a number within (min .. max) int operator () (int r_min, int r_max) { - return r_min + next () % max (r_max - r_min + 1, 1); + return r_min + (*this) (max (r_max - r_min + 1, 1)); } double operator ()()