mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-30 19:42:17 +00:00
Selective commit of secrets somewhat broken pr
This commit is contained in:
1 parent
e8dffa1087
commit
b772518901
7 files changed
+60
-22
No files matched your search
+9
-1
@@ -1658,7 +1658,15 @@ void Mob::ShowBuffList(Client* client) {
|
||||
}
|
||||
|
||||
void Mob::GMMove(float x, float y, float z, float heading, bool SendUpdate) {
|
||||
Teleport(glm::vec4(x, y, z, heading));
|
||||
if (IsCorpse()) {
|
||||
m_Position.x = x;
|
||||
m_Position.y = y;
|
||||
m_Position.z = z;
|
||||
mMovementManager->SendCommandToClients(this, 0.0, 0.0, 0.0, 0.0, 0, ClientRangeAny);
|
||||
}
|
||||
else {
|
||||
Teleport(glm::vec4(x, y, z, heading));
|
||||
}
|
||||
|
||||
if (IsNPC()) {
|
||||
CastToNPC()->SaveGuardSpot(glm::vec4(x, y, z, heading));
|
||||
|
||||
Reference in new issue
Block a user