mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-05-22 05:52:07 +00:00
removed some more unused variables
This commit is contained in:
@@ -1051,8 +1051,6 @@ EX bool valid_dir(const vector<char>& ad, int j, cell *c) {
|
||||
int a = 0;
|
||||
for(auto& dd: ad1) if(dd == 1) a++;
|
||||
|
||||
int a0 = 0;
|
||||
for(auto& dd: ad) if(dd == 1) a0++;
|
||||
return a < 6;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user