Files
sacred_k/src/mods/wasd.h
T
khallaandClaude Opus 5.5 d296e2850b WASD: resume the walk right after a weapon set switch (untested in-game)
Switching between weapon classes resets the hero's animation state inside
cUI_Taskbar2::SelectWeaponSet, which dropped the walk for a tick. The hook
sends the WASD walk again at once. Checkpoint before the movement rework.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-18 01:41:13 +02:00

13 lines
284 B
C++

#pragma once
namespace mods::wasd {
// Whether `vk` is one of the movement keys W/A/S/D.
bool IsMovementKey(int vk);
// Sends the walk for the held movement keys now, after something stopped the
// hero mid-walk (a weapon set switch).
void ResumeWalk();
} // namespace mods::wasd