mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-24 00:00:13 +00:00
feat: add /clear chat command and movement speed display in stats
- /clear slash command empties the chat history (was listed in autocomplete but never handled) - Stats panel shows run/flight/swim speed as percentage of base only when non-default (e.g. mounted or speed-buffed), under a new Movement section
This commit is contained in:
parent
01ec830555
commit
f5a834b543
3 changed files with 39 additions and 0 deletions
|
|
@ -4669,6 +4669,12 @@ void GameScreen::sendChatMessage(game::GameHandler& gameHandler) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (cmdLower == "clear") {
|
||||
gameHandler.clearChatHistory();
|
||||
chatInputBuffer[0] = '\0';
|
||||
return;
|
||||
}
|
||||
|
||||
// /invite command
|
||||
if (cmdLower == "invite" && spacePos != std::string::npos) {
|
||||
std::string targetName = command.substr(spacePos + 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue