Core/Phases: some cleanup

- implemented CopyPhaseFrom(obj)
This commit is contained in:
Rat committed 2014-10-30 13:35:12 +01:00
1 parent 4fab55d703
commit 5993b946c9
16 files changed
+43 -59

No files matched your search

+1 -2
View File
@@ -285,8 +285,7 @@ public:
return false;
}
for (auto phase : chr->GetPhases())
creature->SetInPhase(phase, false, true);
creature->CopyPhaseFrom(chr);
creature->SaveToDB(map->GetId(), (1 << map->GetSpawnMode()), chr->GetPhaseMask());