mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-17 23:17:39 +00:00
ru:: loot
This commit is contained in:
@@ -100,7 +100,7 @@ void playing_frame() {
|
||||
|
||||
auto& ents = current_room->entities;
|
||||
|
||||
for(auto& e: ents) if(e->existing) e->act();
|
||||
for(auto& e: ents) if(e->existing) e->act(); else e->unact();
|
||||
|
||||
auto mb = ents.begin();
|
||||
for(auto& e: ents) if(!e->destroyed) *(mb++) = std::move(e);
|
||||
|
Reference in New Issue
Block a user