optimize racing mode (old renderer)

This commit is contained in:
Zeno Rogue 2019-10-26 01:09:25 +02:00
parent 8560f2322c
commit 64330fab93
1 changed files with 3 additions and 0 deletions

View File

@ -2046,6 +2046,9 @@ EX bool do_draw(cell *c, const transmatrix& T) {
if(hybrid::pmap) return hybrid::do_draw(c, T);
if(WDIM == 3) {
// do not care about cells outside of the track
if(GDIM == 3 && racing::on && c->land == laMemory && cells_drawn >= S7+1) return false;
if(cells_drawn > vid.cells_drawn_limit) return false;
if(cells_drawn < 50) { limited_generation(c); return true; }
if(nil && pmodel == mdGeodesic) {