mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
use checktide always when sightrange>7
This commit is contained in:
parent
485a77a5f6
commit
1d5259c074
@ -813,6 +813,7 @@ void displayabutton(int px, int py, string s, int col) {
|
||||
#endif
|
||||
|
||||
void gmodekeys(int sym, int uni) {
|
||||
if(rug::rugged) rug::handlekeys(sym, uni);
|
||||
if(uni == '1' && !rug::rugged) { vid.alpha = 999; vid.scale = 998; vid.xposition = vid.yposition = 0; }
|
||||
if(uni == '2' && !rug::rugged) { vid.alpha = 1; vid.scale = 0.4; vid.xposition = vid.yposition = 0; }
|
||||
if(uni == '3' && !rug::rugged) { vid.alpha = 1; vid.scale = 1; vid.xposition = vid.yposition = 0; }
|
||||
|
@ -3415,7 +3415,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
||||
|
||||
viewBuggyCells(c,V);
|
||||
|
||||
if(conformal::on || inHighQual) checkTide(c);
|
||||
if(conformal::on || inHighQual || sightrange > 7) checkTide(c);
|
||||
|
||||
// save the player's view center
|
||||
if(isPlayerOn(c) && !shmup::on) {
|
||||
|
Loading…
Reference in New Issue
Block a user