Core: Get rid of dirty operator workaround for ACE_Singleton class implementation

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-12-22 21:25:23 +01:00
parent 0948fc5bbe
commit 0f3b9019a8
159 changed files with 1943 additions and 1939 deletions
+7 -7
View File
@@ -30,7 +30,7 @@ namespace Trinity
inline float hk_honor_at_level_f(uint8 level, float multiplier = 1.0f)
{
float honor = multiplier * level * 1.55f;
sScriptMgr.OnHonorCalculation(honor, level, multiplier);
sScriptMgr->OnHonorCalculation(honor, level, multiplier);
return honor;
}
@@ -54,7 +54,7 @@ namespace Trinity
else
level = pl_level - 9;
sScriptMgr.OnGrayLevelCalculation(level, pl_level);
sScriptMgr->OnGrayLevelCalculation(level, pl_level);
return level;
}
@@ -73,7 +73,7 @@ namespace Trinity
else
color = XP_GRAY;
sScriptMgr.OnColorCodeCalculation(color, pl_level, mob_level);
sScriptMgr->OnColorCodeCalculation(color, pl_level, mob_level);
return color;
}
@@ -106,7 +106,7 @@ namespace Trinity
else
diff = 17;
sScriptMgr.OnZeroDifferenceCalculation(diff, pl_level);
sScriptMgr->OnZeroDifferenceCalculation(diff, pl_level);
return diff;
}
@@ -152,7 +152,7 @@ namespace Trinity
baseGain = 0;
}
sScriptMgr.OnBaseGainCalculation(baseGain, pl_level, mob_level, content);
sScriptMgr->OnBaseGainCalculation(baseGain, pl_level, mob_level, content);
return baseGain;
}
@@ -181,7 +181,7 @@ namespace Trinity
gain = uint32(gain * sWorld.getRate(RATE_XP_KILL));
}
sScriptMgr.OnGainCalculation(gain, pl, u);
sScriptMgr->OnGainCalculation(gain, pl, u);
return gain;
}
@@ -215,7 +215,7 @@ namespace Trinity
}
}
sScriptMgr.OnGroupRateCalculation(rate, count, isRaid);
sScriptMgr->OnGroupRateCalculation(rate, count, isRaid);
return rate;
}
}