From 383153419bef744af4bfa5f5d54c4bee663a5ce6 Mon Sep 17 00:00:00 2001 From: Novatux Date: Fri, 2 Aug 2013 15:18:48 +0200 Subject: Add texture pack selection to main menu --- src/game.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 205c34515..cb2a50823 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -3482,6 +3482,7 @@ void the_game( infostream << "\t\t" << i << ":" << texture->getName().getPath().c_str() << std::endl; } + clearTextureNameCache(); infostream << "\tRemaining materials: " << driver-> getMaterialRendererCount () << " (note: irrlicht doesn't support removing renderers)"<< std::endl; -- cgit v1.2.3