Some warning fixes, unreferenced local variables.

This commit is contained in:
KimLS
2013-02-16 22:07:32 -08:00
parent 7c706d9871
commit 15dc9cfaf4
10 changed files with 5 additions and 22 deletions
-3
View File
@@ -2281,7 +2281,6 @@ bool Merc::AICastSpell(int8 iChance, int16 iSpellTypes) {
for( int i = 0; i < MAX_GROUP_MEMBERS; i++) {
if(g->members[i]) {
int32 oDontDoAgainBefore;
Mob* tar = g->members[i];
if( !tar->IsImmuneToSpell(selectedMercSpell.spellid, this)
@@ -3715,8 +3714,6 @@ bool Merc::LoadMercSpells() {
}
Merc* Merc::LoadMerc(Client *c, MercTemplate* merc_template, uint32 merchant_id) {
Merc* merc;
if(c)
{
if(c->GetMercID()) {