Core/Entities: Vehicles should be able to be both source and target of map scripts

This commit is contained in:
Shauren
2011-09-06 10:33:45 +02:00
parent 369c1bd3c1
commit ea14e096ac

View File

@@ -306,6 +306,7 @@ void Map::ScriptsProcess()
source = player->GetItemByGuid(step.sourceGUID);
break;
case HIGHGUID_UNIT:
case HIGHGUID_VEHICLE:
source = HashMapHolder<Creature>::Find(step.sourceGUID);
break;
case HIGHGUID_PET: