diff options
| author | tobmaps <spambot42@yandex.ru> | 2011-11-02 19:13:51 +0700 |
|---|---|---|
| committer | tobmaps <spambot42@yandex.ru> | 2011-11-02 19:13:51 +0700 |
| commit | c0c6000a4479f26fe2452a25846d2303a09533b8 (patch) | |
| tree | eaaf208c27c891128d30f5a916949f41dcea5b03 /src/server/scripts | |
| parent | d3a7ac5d7dad8f3677de8b69d29ffbe36deb51dd (diff) | |
Core/Misc: Fix spelling typo
Diffstat (limited to 'src/server/scripts')
| -rw-r--r-- | src/server/scripts/World/go_scripts.cpp | 2 | ||||
| -rw-r--r-- | src/server/scripts/World/npc_professions.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/server/scripts/World/go_scripts.cpp b/src/server/scripts/World/go_scripts.cpp index 37da71a1a72..f83b728ee01 100644 --- a/src/server/scripts/World/go_scripts.cpp +++ b/src/server/scripts/World/go_scripts.cpp @@ -165,7 +165,7 @@ public: bool OnGossipHello(Player* player, GameObject* /*pGO*/) { - if (player->HasSkill(SKILL_ENGINERING) && player->GetBaseSkillValue(SKILL_ENGINERING) >= 300 && !player->HasSpell(22704)) + if (player->HasSkill(SKILL_ENGINEERING) && player->GetBaseSkillValue(SKILL_ENGINEERING) >= 300 && !player->HasSpell(22704)) { player->CastSpell(player, 22864, false); } diff --git a/src/server/scripts/World/npc_professions.cpp b/src/server/scripts/World/npc_professions.cpp index 149e1e455aa..01f12086477 100644 --- a/src/server/scripts/World/npc_professions.cpp +++ b/src/server/scripts/World/npc_professions.cpp @@ -774,7 +774,7 @@ public: { bool res = false; npcTextId = textId; - if (player->GetBaseSkillValue(SKILL_ENGINERING) >= skillValue && player->HasSpell(reqSpellId)) + if (player->GetBaseSkillValue(SKILL_ENGINEERING) >= skillValue && player->HasSpell(reqSpellId)) { if (!player->HasSpell(spellId)) res = true; @@ -790,7 +790,7 @@ public: std::string gossipItem; bool canLearn = false; - if (player->HasSkill(SKILL_ENGINERING)) + if (player->HasSkill(SKILL_ENGINEERING)) { switch (creature->GetEntry()) { |
