Map seen tiles were not updated when using NEW_FOW
This commit is contained in:
parent
36bd25a00c
commit
089c88268e
1 changed files with 1 additions and 2 deletions
|
@ -297,11 +297,10 @@ global void MapMarkSight(const Player* player,int tx,int ty,int range)
|
|||
switch( v ) {
|
||||
case 0: // Unexplored
|
||||
case 1: // Unseen
|
||||
#if 0
|
||||
if( IsTileVisible(ThisPlayer,i,y) > 1) {
|
||||
MapMarkSeenTile(i,y);
|
||||
}
|
||||
#endif
|
||||
|
||||
// FIXME: mark for screen update
|
||||
TheMap.Fields[i+y*TheMap.Width].Visible[p]=2;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue