mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-26 13:13:50 +00:00
cleanup: remove dead pos=0 reassignment and demote chat logs to DEBUG
Quest log had a redundant pos=0 right after initialization. Chat handler logged every incoming/outgoing message at WARNING level, flooding the log and obscuring genuine warnings.
This commit is contained in:
parent
a30c7f4b1a
commit
0795430390
2 changed files with 4 additions and 5 deletions
|
|
@ -35,7 +35,6 @@ std::string replaceGenderPlaceholders(const std::string& text, game::GameHandler
|
|||
|
||||
// Replace $g placeholders
|
||||
size_t pos = 0;
|
||||
pos = 0;
|
||||
while ((pos = result.find('$', pos)) != std::string::npos) {
|
||||
if (pos + 1 >= result.length()) break;
|
||||
char marker = result[pos + 1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue