mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
Added empty vehicle class, vehicle*.dbc struct's
This commit is contained in:
parent
6fae544fbe
commit
204b61c220
19 changed files with 323 additions and 34 deletions
|
|
@ -1513,6 +1513,9 @@ void World::ScriptsProcess()
|
|||
case HIGHGUID_PET:
|
||||
source = HashMapHolder<Pet>::Find(step.sourceGUID);
|
||||
break;
|
||||
case HIGHGUID_VEHICLE:
|
||||
source = HashMapHolder<Vehicle>::Find(step.sourceGUID);
|
||||
break;
|
||||
case HIGHGUID_PLAYER:
|
||||
source = HashMapHolder<Player>::Find(step.sourceGUID);
|
||||
break;
|
||||
|
|
@ -1540,6 +1543,9 @@ void World::ScriptsProcess()
|
|||
case HIGHGUID_PET:
|
||||
target = HashMapHolder<Pet>::Find(step.targetGUID);
|
||||
break;
|
||||
case HIGHGUID_VEHICLE:
|
||||
target = HashMapHolder<Vehicle>::Find(step.targetGUID);
|
||||
break;
|
||||
case HIGHGUID_PLAYER: // empty GUID case also
|
||||
target = HashMapHolder<Player>::Find(step.targetGUID);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue