mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-01 09:20:09 +00:00
Check tide before drawing cells.
This commit is contained in:
parent
27fb2d92d7
commit
b56d2d21bf
@ -2830,6 +2830,8 @@ void celldrawer::draw() {
|
||||
|
||||
cells_drawn++;
|
||||
|
||||
checkTide(c);
|
||||
|
||||
#if CAP_TEXTURE
|
||||
if(texture::saving) {
|
||||
texture::config.apply(c, V, 0xFFFFFFFF);
|
||||
|
1
help.cpp
1
help.cpp
@ -883,7 +883,6 @@ EX void describeMouseover() {
|
||||
if(shmup::on)
|
||||
out += " (" + its(c->landparam)+")";
|
||||
else {
|
||||
calcTidalPhase();
|
||||
bool b = c->landparam >= tide[turncount % tidalsize];
|
||||
int t = 1;
|
||||
for(; t < 1000 && b == (c->landparam >= tide[(turncount+t) % tidalsize]); t++) ;
|
||||
|
@ -429,7 +429,8 @@ EX void initgame() {
|
||||
if(vid.use_smart_range == 2) vid.use_smart_range = 1;
|
||||
}
|
||||
if(!allowIncreasedSight()) vid.use_smart_range = 0;
|
||||
callhooks(hooks_post_initgame);
|
||||
calcTidalPhase();
|
||||
callhooks(hooks_post_initgame);
|
||||
}
|
||||
|
||||
bool havesave = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user