mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 15:50:20 +00:00
Fix misleading comment in TrainerSpell state field
The comment incorrectly stated state values as: 0=known(green), 1=available, 2=unavailable(red) Actual correct values are: 0=unavailable(grey), 1=available(green), 2=known(green) This was causing confusion when debugging trainer issues.
This commit is contained in:
parent
01ff6db748
commit
463ee4a311
2 changed files with 3 additions and 2 deletions
|
|
@ -3988,7 +3988,8 @@ void GameHandler::handleInitialSpells(network::Packet& packet) {
|
|||
// Debug: check if specific spells are in initial spells
|
||||
bool has527 = std::find(knownSpells.begin(), knownSpells.end(), 527u) != knownSpells.end();
|
||||
bool has988 = std::find(knownSpells.begin(), knownSpells.end(), 988u) != knownSpells.end();
|
||||
LOG_INFO("Initial spells include: 527=", has527, " 988=", has988);
|
||||
bool has1180 = std::find(knownSpells.begin(), knownSpells.end(), 1180u) != knownSpells.end();
|
||||
LOG_INFO("Initial spells include: 527=", has527, " 988=", has988, " 1180=", has1180);
|
||||
|
||||
// Ensure Attack (6603) and Hearthstone (8690) are always present
|
||||
if (std::find(knownSpells.begin(), knownSpells.end(), 6603u) == knownSpells.end()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue