Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps

This commit is contained in:
Subv
2012-09-03 16:11:18 -05:00
4 changed files with 6 additions and 2 deletions

View File

@@ -257,7 +257,7 @@ bool RegistryUtil::writeString(const std::string& key, const std::string& value,
// static helpers
static HKEY getRootKeyFromString(const char* str, uint32 length) {
static HKEY getRootKeyFromString(const char* str, size_t length) {
debugAssert(str);
if (str) {

View File

@@ -0,0 +1 @@
UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=186371; -- Zeppelin

View File

@@ -0,0 +1,2 @@
-- Stalk the Stalker (9719) quest requirements fix
UPDATE `quest_template` SET `RequiredRaces` = 0 WHERE `Id` = 9719;

View File

@@ -133,7 +133,7 @@ class instance_blood_furnace : public InstanceMapScript
}
}
void OnCreatureDeath(Creature* unit)
void OnUnitDeath(Unit* unit)
{
if (unit && unit->GetTypeId() == TYPEID_UNIT && unit->GetEntry() == 17398)
PrisonerDied(unit->GetGUID());
@@ -316,6 +316,7 @@ class instance_blood_furnace : public InstanceMapScript
if (!prisoner->isAlive())
prisoner->Respawn(true);
prisoner->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IMMUNE_TO_PC | UNIT_FLAG_IMMUNE_TO_NPC | UNIT_FLAG_NON_ATTACKABLE);
prisoner->GetMotionMaster()->MoveTargetedHome();
}
void StorePrisoner(Creature* creature)