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:
ragnarok-clanker 2026-11-02 14:09:45 +00:00
commit c246e79d27

View file

@ -1,5 +1,6 @@
#include "Client/Mode/CMode.h"
#include "Client/Mode/ModeCursor.h"
#include "UI/Window/UIWindowMgr.h"
#include <windows.h>
#include <timeapi.h>
@ -33,4 +34,5 @@ void ModeCursor::Set(std::int32_t value, std::uint32_t& changeTick) {
this->type = value;
this->frame = 0;
changeTick = timeGetTime();
g_windowMgr.SendNotice(15, this->type, 0, 0, 0, 0);
}