mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-03 22: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
@@ -123,7 +123,12 @@ public:
|
||||
int current_speed = 0;
|
||||
|
||||
if (m_move_to_mode == MovementRunning) {
|
||||
current_speed = m->GetRunspeed();
|
||||
if (m->IsFeared()) {
|
||||
current_speed = m->GetFearSpeed();
|
||||
}
|
||||
else {
|
||||
current_speed = m->GetRunspeed();
|
||||
}
|
||||
}
|
||||
else {
|
||||
current_speed = m->GetWalkspeed();
|
||||
@@ -242,7 +247,12 @@ public:
|
||||
int current_speed = 0;
|
||||
|
||||
if (m_move_to_mode == MovementRunning) {
|
||||
current_speed = m->GetRunspeed();
|
||||
if (m->IsFeared()) {
|
||||
current_speed = m->GetFearSpeed();
|
||||
}
|
||||
else {
|
||||
current_speed = m->GetRunspeed();
|
||||
}
|
||||
}
|
||||
else {
|
||||
current_speed = m->GetWalkspeed();
|
||||
|
||||
Reference in new issue
Block a user