1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-11 01:22:07 +00:00

removed some more unused variables

This commit is contained in:
Zeno Rogue
2026-05-02 13:17:53 +02:00
parent 1906c597c1
commit 6db1445db6
6 changed files with 2 additions and 18 deletions
-2
View File
@@ -341,7 +341,6 @@ EX void create_yasc_message() {
bool in_ctx = true;
set<string> blocks;
int index = 0;
for(auto c: all) {
if(c.type == miENTITY && !captures.count({c.where, blocking_monster_name(c)})) blocks.insert(blocking_monster_name(c));
else if(c.type == miWALL && c.subtype == siMONSTER && !captures.count({c.where, blocking_monster_name(c)})) blocks.insert(blocking_monster_name(c));
@@ -361,7 +360,6 @@ EX void create_yasc_message() {
else if(c.where && c.where->wall != cwt.at->wall) blocks.insert(dnameof(c.where->wall));
}
else if(c.type == siWARP) blocks.insert("warp");
index++;
}
if(!blocks.empty()) {