Cosmetic: Multiple cosmetic changes
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
This commit is contained in:
@@ -2402,7 +2402,7 @@ enum QuestSort
|
||||
|
||||
inline uint8 ClassByQuestSort(int32 QuestSort)
|
||||
{
|
||||
switch(QuestSort)
|
||||
switch (QuestSort)
|
||||
{
|
||||
case QUEST_SORT_WARLOCK: return CLASS_WARLOCK;
|
||||
case QUEST_SORT_WARRIOR: return CLASS_WARRIOR;
|
||||
@@ -2578,7 +2578,7 @@ enum SkillType
|
||||
|
||||
inline SkillType SkillByLockType(LockType locktype)
|
||||
{
|
||||
switch(locktype)
|
||||
switch (locktype)
|
||||
{
|
||||
case LOCKTYPE_PICKLOCK: return SKILL_LOCKPICKING;
|
||||
case LOCKTYPE_HERBALISM: return SKILL_HERBALISM;
|
||||
@@ -2592,7 +2592,7 @@ inline SkillType SkillByLockType(LockType locktype)
|
||||
|
||||
inline uint32 SkillByQuestSort(int32 QuestSort)
|
||||
{
|
||||
switch(QuestSort)
|
||||
switch (QuestSort)
|
||||
{
|
||||
case QUEST_SORT_HERBALISM: return SKILL_HERBALISM;
|
||||
case QUEST_SORT_FISHING: return SKILL_FISHING;
|
||||
|
||||
Reference in New Issue
Block a user