… | |
… | |
1090 | |
1090 | |
1091 | /* tmp is the object being described, pl is who is examing it. */ |
1091 | /* tmp is the object being described, pl is who is examing it. */ |
1092 | const char * |
1092 | const char * |
1093 | long_desc (object *tmp, object *pl) |
1093 | long_desc (object *tmp, object *pl) |
1094 | { |
1094 | { |
1095 | static std::string s = tmp->long_desc (pl); |
1095 | static std::string s; |
1096 | return s.c_str (); |
1096 | |
|
|
1097 | return (s = tmp->long_desc (pl)).c_str (); |
1097 | } |
1098 | } |
1098 | |
1099 | |
1099 | std::string |
1100 | std::string |
1100 | object::long_desc (object *who) |
1101 | object::long_desc (object *who) |
1101 | { |
1102 | { |