mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-12-03 19:55:17 +00:00
fixed aura specials
This commit is contained in:
1 parent
b90e3a4ed2
commit
058a2a5027
1 file changed
+1
-1
@@ -2256,7 +2256,7 @@ void apply_joukowsky_aura(hyperpoint& h) {
|
||||
void addauraspecial(hyperpoint h, color_t col, int dir) {
|
||||
if(!haveaura()) return;
|
||||
apply_joukowsky_aura(h);
|
||||
int r = int(2*AURA + dir + atan2(h[0], h[1]) * AURA / 2 / M_PI) % AURA;
|
||||
int r = int(2*AURA + dir + atan2(h[1], h[0]) * AURA / 2 / M_PI) % AURA;
|
||||
auraspecials.emplace_back(r, col);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user