Fix issue #14
This commit is contained in:
		
							parent
							
								
									6c2539bbd4
								
							
						
					
					
						commit
						526885f70d
					
				| 
						 | 
				
			
			@ -70,6 +70,7 @@ function bindKeys()
 | 
			
		|||
  g_keyboard.bindKeyDown('Ctrl+W', function() g_map.cleanTexts() modules.game_textmessage.clearMessages() end, gameRootPanel)
 | 
			
		||||
  g_keyboard.bindKeyDown('Ctrl+;', toggleDash, gameRootPanel)
 | 
			
		||||
  g_keyboard.bindKeyDown('Ctrl+.', toggleAspectRatio, gameRootPanel)
 | 
			
		||||
  g_keyboard.bindKeyDown('Ctrl+N', function() gameMapPanel:setDrawTexts(not gameMapPanel:isDrawingTexts()) end, gameRootPanel)
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
function terminate()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -378,7 +378,7 @@ void MapView::updateVisibleTilesCache(int start)
 | 
			
		|||
        m_spiral.clear();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if(start == 0 && m_drawTexts && m_viewMode <= NEAR_VIEW)
 | 
			
		||||
    if(start == 0 && m_viewMode <= NEAR_VIEW)
 | 
			
		||||
        m_cachedFloorVisibleCreatures = g_map.getSpectators(cameraPosition, false);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue