… | |
… | |
311 | return 0; |
311 | return 0; |
312 | } |
312 | } |
313 | |
313 | |
314 | /* Everything passes, must be OK. */ |
314 | /* Everything passes, must be OK. */ |
315 | return 1; |
315 | return 1; |
|
|
316 | } |
|
|
317 | |
|
|
318 | void |
|
|
319 | player::set_range (rangetype r) |
|
|
320 | { |
|
|
321 | shoottype = r; |
316 | } |
322 | } |
317 | |
323 | |
318 | /* |
324 | /* |
319 | * sum_weight() is a recursive function which calculates the weight |
325 | * sum_weight() is a recursive function which calculates the weight |
320 | * an object is carrying. It goes through in figures out how much |
326 | * an object is carrying. It goes through in figures out how much |