Commit d00c4c69 authored by fallenstardust's avatar fallenstardust

初始化材质时微调信用分图标文件名

parent 823db0e5
...@@ -1537,7 +1537,6 @@ void Game::DrawThumb(code_pointer cp, irr::core::vector2di pos, const LFList* lf ...@@ -1537,7 +1537,6 @@ void Game::DrawThumb(code_pointer cp, irr::core::vector2di pos, const LFList* lf
break; break;
} }
} }
auto lfcredit = lflist->credits.find(lcode);
auto current_limitloc = limitloc; auto current_limitloc = limitloc;
auto credit_max_display = CARD_THUMB_WIDTH / 20; auto credit_max_display = CARD_THUMB_WIDTH / 20;
auto next_limitloc = [&]() { auto next_limitloc = [&]() {
...@@ -1548,6 +1547,7 @@ void Game::DrawThumb(code_pointer cp, irr::core::vector2di pos, const LFList* lf ...@@ -1548,6 +1547,7 @@ void Game::DrawThumb(code_pointer cp, irr::core::vector2di pos, const LFList* lf
--credit_max_display; --credit_max_display;
return this_limitloc; return this_limitloc;
}; };
auto lfcredit = lflist->credits.find(lcode);
if(lfcredit != lflist->credits.end()) { if(lfcredit != lflist->credits.end()) {
for(auto& credit_entry : lfcredit->second) { for(auto& credit_entry : lfcredit->second) {
if(credit_max_display <= 0) if(credit_max_display <= 0)
......
...@@ -35,7 +35,7 @@ bool ImageManager::Initial(const path dir) { ...@@ -35,7 +35,7 @@ bool ImageManager::Initial(const path dir) {
tTarget = driver->getTexture((dir + path("/textures/target.png")).c_str()); tTarget = driver->getTexture((dir + path("/textures/target.png")).c_str());
tChainTarget = driver->getTexture((dir + path("/textures/chaintarget.png")).c_str()); tChainTarget = driver->getTexture((dir + path("/textures/chaintarget.png")).c_str());
tLim = driver->getTexture((dir + path("/textures/lim.png")).c_str()); tLim = driver->getTexture((dir + path("/textures/lim.png")).c_str());
tLimCredit = driver->getTexture((dir + path("/textures/limCredit.png")).c_str()); tLimCredit = driver->getTexture((dir + path("/textures/lim_credit.png")).c_str());
tOT = driver->getTexture((dir + path("/textures/ot.png")).c_str()); tOT = driver->getTexture((dir + path("/textures/ot.png")).c_str());
tHand[0] = driver->getTexture((dir + path("/textures/f1.jpg")).c_str()); tHand[0] = driver->getTexture((dir + path("/textures/f1.jpg")).c_str());
tHand[1] = driver->getTexture((dir + path("/textures/f2.jpg")).c_str()); tHand[1] = driver->getTexture((dir + path("/textures/f2.jpg")).c_str());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment