… | |
… | |
390 | buf.printf (newline ? "%s %d\n" : "(%s %+d)", resist_plus[i], op->resist[i]); |
390 | buf.printf (newline ? "%s %d\n" : "(%s %+d)", resist_plus[i], op->resist[i]); |
391 | |
391 | |
392 | return buf; |
392 | return buf; |
393 | } |
393 | } |
394 | |
394 | |
395 | |
|
|
396 | /* |
395 | /* |
397 | * query_weight(object) returns a character pointer to a static buffer |
396 | * query_weight(object) returns a character pointer to a static buffer |
398 | * containing the text-representation of the weight of the given object. |
397 | * containing the text-representation of the weight of the given object. |
399 | * The buffer will be overwritten by the next call to query_weight(). |
398 | * The buffer will be overwritten by the next call to query_weight(). |
400 | * |
399 | * |