rug:: bugfix: draw boundary and model elements (previously changing fillmodel had no effect on rug)

This commit is contained in:
Zeno Rogue 2019-03-30 17:47:16 +01:00
parent f41e149688
commit 4727e71590
2 changed files with 10 additions and 0 deletions

View File

@ -1013,6 +1013,8 @@ hyperpoint gethyper(ld x, ld y);
void resetview();
void drawthemap();
void drawfullmap();
void draw_boundary(int w);
void draw_model_elements();
extern function<void()> wrap_drawfullmap;
bool displaystr(int x, int y, int shift, int size, const char *str, color_t color, int align);
bool displaystr(int x, int y, int shift, int size, const string& str, color_t color, int align);

View File

@ -1288,6 +1288,14 @@ void prepareTexture() {
glbuf->clear(0);
ptds.clear();
#if CAP_QUEUE
draw_boundary(0);
draw_boundary(1);
draw_model_elements();
#endif
drawthemap();
if(mousing && !renderonce) {
for(int i=0; i<numplayers(); i++) if(multi::playerActive(i))