… | … | ||
---|---|---|---|
1224 | object::ref () const | 1224 | object::ref () const |
1225 | { | 1225 | { |
1226 | if (type == PLAYER) | 1226 | if (type == PLAYER) |
1227 | return format ("player/<1.%llx>/%s", (unsigned long long)uuid.seq, &name); | 1227 | return format ("player/<1.%llx>/%s", (unsigned long long)uuid.seq, &name); |
1228 | else | 1228 | else |
1229 | // TODO: should be able to save references within the same map, at least | ||
1229 | return 0; | 1230 | return 0; |
1230 | } | 1231 | } |
1231 | 1232 | ||
1232 | object * | 1233 | object * |
1233 | object::deref (const_utf8_string ref) | 1234 | object::deref (const_utf8_string ref) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |