More cleanups, transports still not working. working on a fix.

This commit is contained in:
hondacrx
2022-06-21 15:43:35 -04:00
parent 63cbd18350
commit d42733e3b4
5 changed files with 11 additions and 6 deletions
+2 -2
View File
@@ -6247,14 +6247,14 @@ namespace Game.Entities
void UpdateVisibilityOf_helper<T>(List<ObjectGuid> s64, T target, List<Unit> v) where T : WorldObject
{
s64.Add(target.GetGUID());
switch (target.GetTypeId())
{
case TypeId.Unit:
s64.Add(target.GetGUID());
v.Add(target.ToCreature());
break;
case TypeId.Player:
s64.Add(target.GetGUID());
v.Add(target.ToPlayer());
break;
}