1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-21 00:47:40 +00:00

removed function dirfromto as it was equal to neighborId

This commit is contained in:
Zeno Rogue
2019-08-10 00:08:16 +02:00
parent 986bf0ee9a
commit 245ee5878f
4 changed files with 8 additions and 15 deletions

View File

@@ -849,8 +849,6 @@ namespace mirror {
void act(int dir, int flags);
}
int neighborId(cell *c1, cell *c2);
struct movedir {
int d;
// non-negative numbers denote 'rotate +d steps and act in this direction