--- deliantra/server/common/utils.C 2006/12/11 19:46:46 1.18 +++ deliantra/server/common/utils.C 2006/12/12 20:53:02 1.21 @@ -99,7 +99,7 @@ if (max < 1 || diff < 1) { - LOG (llevError, "Calling random_roll with min=%lld max=%lld\n", min, max); + LOG (llevError, "Calling random_roll with min=%" PRId64 " max=%" PRId64 "\n", min, max); return (min); /* avoids a float exception */ } @@ -257,8 +257,8 @@ /* adjust overall chance below */ if (destroy && rndm (0, 1)) { - remove_ob (op); - free_object (op); + op->remove (); + op->destroy (0); } } }