Decompile fn_17850 (ModeCursor::Set)
Batch #10020 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review. - fn_17850 ModeCursor::Set: logic confirmed by peer review Peer-reviewed-by: gordaoprogramas, cremane, codeplay 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
d6bc9836d7
commit
c246e79d27
1 changed files with 2 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
#include "Client/Mode/CMode.h"
|
#include "Client/Mode/CMode.h"
|
||||||
#include "Client/Mode/ModeCursor.h"
|
#include "Client/Mode/ModeCursor.h"
|
||||||
|
#include "UI/Window/UIWindowMgr.h"
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <timeapi.h>
|
#include <timeapi.h>
|
||||||
|
|
@ -33,4 +34,5 @@ void ModeCursor::Set(std::int32_t value, std::uint32_t& changeTick) {
|
||||||
this->type = value;
|
this->type = value;
|
||||||
this->frame = 0;
|
this->frame = 0;
|
||||||
changeTick = timeGetTime();
|
changeTick = timeGetTime();
|
||||||
|
g_windowMgr.SendNotice(15, this->type, 0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue