summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-02 20:25:51 -0200
committershennetsind <ind@henn.et>2013-11-02 20:25:51 -0200
commit37fdcbae655c48e569398d3750d503ffe3bfae66 (patch)
tree319d247781eb544dbca5505de57eac14e597a3ec /src/map/map.c
parent5e002a43399f5358b7aabd1bd653f598f35287e2 (diff)
downloadhercules-37fdcbae655c48e569398d3750d503ffe3bfae66.tar.gz
hercules-37fdcbae655c48e569398d3750d503ffe3bfae66.tar.bz2
hercules-37fdcbae655c48e569398d3750d503ffe3bfae66.tar.xz
hercules-37fdcbae655c48e569398d3750d503ffe3bfae66.zip
Fixed Bug #7786
@speed no longer screws up on map change, modified @speed feedback so its clear whether the permanent speed flag is gone, enhanced @speed by making it capable of bypassing battle_config.max_walk_speed, made status_calc_speed rely on MIN_WALK_SPEED instead of the hardcoded 0, modified MIN_WALK_SPEED from 0 to 20 (it 1) wasnt being respected and 2) less than 20 clips). @speed is now capable of moving the character faster, prior to this commit @speed 0 was equivalent to @speed 50 of this new version, @speed 20 for example is now the new maximum (and moves much faster). http://hercules.ws/board/tracker/issue-7786-speed-bug-when-changing-maps/ Thanks to Mumbles for all the info Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/map.c b/src/map/map.c
index b50297ca6..2a2f98bdc 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1722,8 +1722,6 @@ int map_quit(struct map_session_data *sd) {
if( sd->state.storage_flag == 1 ) sd->state.storage_flag = 0; // No need to Double Save Storage on Quit.
- if (sd->state.permanent_speed == 1) sd->state.permanent_speed = 0; // Remove lock so speed is set back to normal at login.
-
if( sd->ed ) {
elemental->clean_effect(sd->ed);
unit->remove_map(&sd->ed->bl,CLR_TELEPORT,ALC_MARK);