Fix initial setup of IDPlayerPool
This commit is contained in:
@@ -21,6 +21,13 @@ std::string World::tangible_anim_debug_string(int64_t id) const {
|
||||
}
|
||||
|
||||
|
||||
std::string World::tangible_id_pool_debug_string(int64_t id) const {
|
||||
const Tangible *t = tangible_get(id);
|
||||
if (t == 0) return "no such tangible";
|
||||
return t->id_player_pool_.debug_string();
|
||||
}
|
||||
|
||||
|
||||
std::string World::tangible_ids_debug_string() const {
|
||||
util::IdVector idv;
|
||||
for (const auto &pair : tangibles_) {
|
||||
|
||||
Reference in New Issue
Block a user