fixed centering in racing

This commit is contained in:
Zeno Rogue
2019-09-12 22:49:53 +02:00
parent 0c3b26c997
commit d994c92ab6
3 changed files with 26 additions and 14 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ int detaillevel = 0;
bool first_cell_to_draw = true;
bool hide_player() {
return DIM == 3 && playermoved && vid.yshift == 0 && vid.sspeed > -5 && pmodel == mdPerspective && first_cell_to_draw && (WDIM == 3 || geom3::camera == 0) && !inmirrorcount;
return DIM == 3 && playermoved && vid.yshift == 0 && vid.sspeed > -5 && pmodel == mdPerspective && first_cell_to_draw && (WDIM == 3 || geom3::camera == 0) && !inmirrorcount
&& !(racing::on && !racing::standard_centering && !racing::player_relative);
}
hookset<bool(int sym, int uni)> *hooks_handleKey;