mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Bug Fix] Fix Issue with SetFlyMode() (#3961)
# Notes - Variable and parameter had the same name, meaning this could fail.
This commit is contained in:
+2
-2
@@ -5612,9 +5612,9 @@ void Mob::SetEntityVariable(std::string variable_name, std::string variable_valu
|
||||
m_EntityVariables[variable_name] = variable_value;
|
||||
}
|
||||
|
||||
void Mob::SetFlyMode(GravityBehavior flymode)
|
||||
void Mob::SetFlyMode(GravityBehavior in_flymode)
|
||||
{
|
||||
flymode = flymode;
|
||||
flymode = in_flymode;
|
||||
}
|
||||
|
||||
void Mob::Teleport(const glm::vec3 &pos)
|
||||
|
||||
Reference in New Issue
Block a user