diff --git a/Source/UI/UIRefiningWnd.cpp b/Source/UI/UIRefiningWnd.cpp index 4c662ef1..4a061c2e 100644 --- a/Source/UI/UIRefiningWnd.cpp +++ b/Source/UI/UIRefiningWnd.cpp @@ -539,7 +539,7 @@ void UIRefiningWnd::Slot28(int x, int y) { int tipX = 81; int tipY = 150; this->ToScreen(tipX, tipY); - static_cast(g_charViewMode)->ShowTooltip(name, tipX, tipY - 20, -1, false, true); + g_modeMgr.gameMode->ShowTooltip(name, tipX, tipY - 20, -1, false, true); return; } @@ -551,7 +551,7 @@ void UIRefiningWnd::Slot28(int x, int y) { int tipX = 161; int tipY = 150; this->ToScreen(tipX, tipY); - static_cast(g_charViewMode)->ShowTooltip(name, tipX, tipY - 20, -1, false, true); + g_modeMgr.gameMode->ShowTooltip(name, tipX, tipY - 20, -1, false, true); return; } @@ -580,7 +580,7 @@ void UIRefiningWnd::Slot28(int x, int y) { int tipX = slot * 49 + 11; int tipY = 35; this->ToScreen(tipX, tipY); - static_cast(g_charViewMode)->ShowTooltip(name, tipX, tipY, -1, false, true); + g_modeMgr.gameMode->ShowTooltip(name, tipX, tipY, -1, false, true); } }