Changeset 361
- Timestamp:
- 07/19/07 15:42:25 (1 year ago)
- Files:
-
- branches/angband-3.0.8/src/object2.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/angband-3.0.8/src/object2.c
r262 r361 3139 3139 void drop_near(object_type *j_ptr, int chance, int y, int x) 3140 3140 { 3141 int i, k, d, s;3141 int i, k, n, d, s; 3142 3142 3143 3143 int bs, bn; … … 3216 3216 /* No objects */ 3217 3217 k = 0; 3218 n = 0; 3218 3219 3219 3220 /* Scan objects in that grid */ … … 3224 3225 3225 3226 /* Count objects */ 3226 k++; 3227 if (!squelch_hide_item(o_ptr)) 3228 k++; 3229 else 3230 n++; 3227 3231 } 3228 3232 … … 3233 3237 if (adult_no_stacking && (k > 1)) continue; 3234 3238 3235 /* Paranoia */3236 if ( k> MAX_FLOOR_STACK) continue;3239 /* Paranoia? */ 3240 if ((k + n) > MAX_FLOOR_STACK) continue; 3237 3241 3238 3242 /* Calculate score */
