diff --git a/src/map.c b/src/map.c index a0d2ba77acdccbda20bbe80aa894bb6ab1677a0b..9da5b655d0bec8c8cbe3eb6acb513d1e53f11b0e 100644 --- a/src/map.c +++ b/src/map.c @@ -1671,7 +1671,7 @@ void display_map_quad(lua_State *L, GLuint *cur_tex, int *vert_idx, int *col_idx /******************************************************** ** Cleanup ********************************************************/ - if (m->shader || m->nb_textures || m->next) + if (m->shader || m->nb_textures > 1 || m->next) { /* Draw remaining ones */ if (vert_idx) glDrawArrays(GL_QUADS, 0, (*vert_idx) / 2);