[9428] Remove redundant calls to Set(Max)Health, already done by SelectLevel function.

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-02-21 16:18:22 +01:00
parent 67c5e57b0a
commit 5ec0c18d2c
2 changed files with 2 additions and 3 deletions

View file

@ -81,9 +81,8 @@ bool Vehicle::Create(uint32 guidlow, Map *map, uint32 Entry, uint32 vehicleId, u
CreatureInfo const *ci = GetCreatureInfo();
setFaction(team == ALLIANCE ? ci->faction_A : ci->faction_H);
SetMaxHealth(ci->maxhealth);
SelectLevel(ci);
SetHealth(GetMaxHealth());
return true;
}

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9427"
#define REVISION_NR "9428"
#endif // __REVISION_NR_H__