Core: Fixed a few warnings and silly typos in scripts

This commit is contained in:
Shauren
2011-11-23 16:57:08 +01:00
parent 298c162c86
commit 44693cfa99
4 changed files with 10 additions and 9 deletions

View File

@@ -443,9 +443,10 @@ DumpReturn PlayerDumpReader::LoadDump(const std::string& file, uint32 account, s
typedef PetIds::value_type PetIdsPair;
PetIds petids;
uint8 gender;
uint8 race;
uint8 playerClass;
uint8 gender = GENDER_NONE;
uint8 race = RACE_NONE;
uint8 playerClass = 0;
SQLTransaction trans = CharacterDatabase.BeginTransaction();
while (!feof(fin))
{