This commit is contained in:
Eduardo Bart 2012-10-05 15:17:10 -03:00
parent 6c2539bbd4
commit 526885f70d
2 changed files with 2 additions and 1 deletions

View File

@ -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()

View File

@ -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);
}