PlaneMap now tracks all tangibles, including those on nowhere plane.

This commit is contained in:
2021-03-25 15:34:43 -04:00
parent e06bae63f7
commit 3e424f3fa6
5 changed files with 36 additions and 59 deletions

View File

@@ -81,7 +81,7 @@ void TextGame::do_view_command(const StringVec &cmd) {
std::cerr << "v command (view) takes no arguments" << std::endl;
return;
}
for (int64_t id : world_->get_near(1, 100)) {
for (int64_t id : world_->get_near(1, 100, true)) {
const Tangible *tan = world_->tangible_get(id);
const AnimQueue &aq = tan->anim_queue_;
std::cerr << id << ": " << aq.get_graphic() << " " << aq.get_plane() << " " << aq.get_xyz() << std::endl;