Decompile 2 functions in Source/UI/UILapineUpgradeBoxWnd.cpp
Batch #11165 by dori: 0 byte-identical, 2 confirmed by peer review. - fn_04194 UILapineUpgradeBoxWnd::Slot10: logic confirmed by peer review - fn_04209 UILapineUpgradeBox_IngredientInfoWnd::Slot28: logic confirmed by peer review Peer-reviewed-by: kyoshi, cremane, StrawberrysherbetIX Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
111eb1b9b8
commit
dcc5e3bf7e
1 changed files with 2 additions and 2 deletions
|
|
@ -171,7 +171,7 @@ void UILapineUpgradeBoxWnd::Paint() {
|
|||
// OFFSET: 0x006035E0
|
||||
// FUNCTION: fn_04194
|
||||
void UILapineUpgradeBoxWnd::Slot10(int x, int y, std::intptr_t value) {
|
||||
CMode* mode = static_cast<CMode*>(g_charViewMode);
|
||||
CMode* mode = g_modeMgr.GetGameMode();
|
||||
if (this->item.unknown_0000[1] > 0) {
|
||||
mode->SendMsg(18, 0, 0, 0, 0);
|
||||
return;
|
||||
|
|
@ -460,7 +460,7 @@ void UILapineUpgradeBox_IngredientInfoWnd::Slot28(int x, int y) {
|
|||
int tipX = 0;
|
||||
int tipY = -20;
|
||||
this->ToScreen(tipX, tipY);
|
||||
static_cast<CMode*>(g_charViewMode)->ShowTooltip(this->tooltip.c_str(), tipX, tipY, -1, false, true);
|
||||
g_modeMgr.gameMode->ShowTooltip(this->tooltip.c_str(), tipX, tipY, -1, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue