Decompile fn_10866 (UIStaticText::Slot28)
Batch #11049 by dori: 0 byte-identical, 1 confirmed by peer review. - fn_10866 UIStaticText::Slot28: logic confirmed by peer review Peer-reviewed-by: Yommy, KWDev, cremane 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
f9f0cf0053
commit
924afcc36d
1 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#include "UI/Buttons/UIBmpTextButton.h"
|
||||
#include "UI/Text/UIStaticText.h"
|
||||
#include "Client/Mode/CMode.h"
|
||||
#include "Client/Mode/ModeMgr.h"
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
|
|
@ -198,7 +199,7 @@ void UIStaticText::Slot28(int, int) {
|
|||
y = (y + node->geometry.y);
|
||||
}
|
||||
|
||||
static_cast<CMode*>(g_charViewMode)->ShowTooltip(this->tooltip.c_str(), x, y, -1, false, true);
|
||||
g_modeMgr.gameMode->ShowTooltip(this->tooltip.c_str(), x, y, -1, false, true);
|
||||
}
|
||||
|
||||
// OFFSET: 0x0085FAB0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue