This commit is contained in:
Jacob Mandelson 2024-04-22 22:54:30 +00:00 committed by GitHub
commit 3dbe8c2df4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View File

@ -2830,6 +2830,8 @@ void celldrawer::draw() {
cells_drawn++;
checkTide(c);
#if CAP_TEXTURE
if(texture::saving) {
texture::config.apply(c, V, 0xFFFFFFFF);

View File

@ -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++) ;

View File

@ -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;