Fixed compilation without #define NEW_MAPDRAW.
This commit is contained in:
parent
ca52fe2b1b
commit
5416d5ced6
1 changed files with 4 additions and 0 deletions
|
@ -314,8 +314,12 @@ global void MapUpdateFogOfWar(int x,int y)
|
|||
vis=TheMap.Fields[sx].Flags&MapFieldVisible;
|
||||
#endif
|
||||
if( vis && (!last || last&MapFieldPartiallyVisible) ) {
|
||||
#ifdef NEW_MAPDRAW
|
||||
*redraw_row=NEW_MAPDRAW;
|
||||
*redraw_tile=NEW_MAPDRAW;
|
||||
#else
|
||||
*redraw_row=*redraw_tile=1;
|
||||
#endif
|
||||
}
|
||||
|
||||
++redraw_tile;
|
||||
|
|
Loading…
Add table
Reference in a new issue