Change how animstate is accessed
This commit is contained in:
@@ -83,8 +83,8 @@ void TextGame::do_view_command(const StringVec &cmd) {
|
||||
}
|
||||
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;
|
||||
const AnimStep &aqback = tan->anim_queue_.back();
|
||||
std::cerr << id << ": " << aqback.graphic() << " " << aqback.plane() << " " << aqback.xyz() << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user