Decompile fn_10865 (UIStaticBitmap::Slot28)
Batch #10961 by dori: 0 byte-identical, 1 confirmed by peer review. - fn_10865 UIStaticBitmap::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
34e6f1593b
commit
20dcd579c1
1 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include "UI/Buttons/UIButton.h"
|
||||
#include "UI/UIStaticBitmap.h"
|
||||
#include "Client/Mode/CMode.h"
|
||||
#include "Client/Mode/ModeMgr.h"
|
||||
|
||||
// OFFSET: 0x00850430
|
||||
// FUNCTION: fn_10676
|
||||
|
|
@ -80,7 +81,7 @@ void UIStaticBitmap::Slot28(int x, int y) {
|
|||
screenY = (screenY + window->geometry.y);
|
||||
}
|
||||
|
||||
static_cast<CMode*>(g_charViewMode)->ShowTooltip(this->tooltip.c_str(), screenX, screenY, -1, false, true);
|
||||
g_modeMgr.gameMode->ShowTooltip(this->tooltip.c_str(), screenX, screenY, -1, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue