mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-25 18:24:27 +00:00
viewctr is no more... major reduction of redundancy/complexity
This commit is contained in:
1 parent
74a139ca3e
commit
ef9e2236ba
27 files changed
+102
-270
No files matched your search
+3
-3
@@ -191,9 +191,9 @@ EX namespace models {
|
||||
spiral_multiplier = cld(0, 2 * M_PI) / cld(h[0], h[1]);
|
||||
}
|
||||
|
||||
if(centerover.at && !history::on)
|
||||
if(isize(history::path_for_lineanimation) == 0 || (quotient && history::path_for_lineanimation.back() != centerover.at)) {
|
||||
history::path_for_lineanimation.push_back(centerover.at);
|
||||
if(centerover && !history::on)
|
||||
if(isize(history::path_for_lineanimation) == 0 || (quotient && history::path_for_lineanimation.back() != centerover)) {
|
||||
history::path_for_lineanimation.push_back(centerover);
|
||||
}
|
||||
|
||||
band_shift = 0;
|
||||
|
||||
Reference in new issue
Block a user