Core/GameObjects: Implemented playerCast (Data23) for GAMEOBJECT_TYPE_GOOBER
This commit is contained in:
1 parent
437315a154
commit
5657280b65
2 files changed
+3
-1
No files matched your search
@@ -2003,7 +2003,8 @@ void GameObject::Use(Unit* user)
|
||||
|
||||
// cast this spell later if provided
|
||||
spellId = info->goober.spellId;
|
||||
spellCaster = nullptr;
|
||||
if (!info->goober.playerCast)
|
||||
spellCaster = nullptr;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user