--- deliantra/Deliantra-Client/Client.xs 2007/04/13 18:11:26 1.180 +++ deliantra/Deliantra-Client/Client.xs 2007/04/16 21:06:36 1.181 @@ -347,7 +347,7 @@ static void smooth_or_bits (HV *hv, smooth_key *key, IV bits) { - SV **sv = hv_fetch (hv, (char *)key, sizeof (key), 1); + SV **sv = hv_fetch (hv, (char *)key, sizeof (*key), 1); if (SvIOK (*sv)) SvIV_set (*sv, SvIVX (*sv) | bits); @@ -1714,7 +1714,7 @@ } } - // go through all smoothlevels, lowest to highest, then draw + // go through all smoothlevels, lowest to highest, then draw. // this is basically counting sort { int w, b;