Core/Phases: some cleanup
- implemented CopyPhaseFrom(obj)
This commit is contained in:
1 parent
4fab55d703
commit
5993b946c9
16 files changed
+43
-59
No files matched your search
@@ -934,8 +934,7 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
for (auto phase : handler->GetSession()->GetPlayer()->GetPhases())
|
||||
v->SetInPhase(phase, false, true);
|
||||
v->CopyPhaseFrom(handler->GetSession()->GetPlayer());
|
||||
|
||||
map->AddToMap(v->ToCreature());
|
||||
|
||||
|
||||
Reference in new issue
Block a user