summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-03 21:03:09 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-03 21:03:09 +0000
commitb5ca1c7c4021d9ef04cabd6f6dbc6e1bc050ab73 (patch)
treeff35acbbf544331e88912a62558c560c88f329b0 /src/net
parentde8b695c863576f10cfeb02c38b8980ec5dd019e (diff)
downloadmana-b5ca1c7c4021d9ef04cabd6f6dbc6e1bc050ab73.tar.gz
mana-b5ca1c7c4021d9ef04cabd6f6dbc6e1bc050ab73.tar.bz2
mana-b5ca1c7c4021d9ef04cabd6f6dbc6e1bc050ab73.tar.xz
mana-b5ca1c7c4021d9ef04cabd6f6dbc6e1bc050ab73.zip
- Fixed blue, red and yellow damage fonts to work in SDL mode
- Added two international characters to fixed font, fixed autotarget - Fixed mouse autotarget (now default for left click) - Cleaned up showing of empty right click menus
Diffstat (limited to 'src/net')
-rw-r--r--src/net/protocol.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/protocol.cpp b/src/net/protocol.cpp
index de41467e..eac679bc 100644
--- a/src/net/protocol.cpp
+++ b/src/net/protocol.cpp
@@ -243,9 +243,6 @@ Being* attack(unsigned short x, unsigned short y, unsigned char direction)
return target;
}
- // Implement charging attacks here
- char_info->lastAttackTime = 0;
-
return NULL;
}
@@ -269,6 +266,9 @@ void attack(Being *target)
player_node->direction = WEST;
}
+ // Implement charging attacks here
+ char_info->lastAttackTime = 0;
+
player_node->action = ATTACK;
action(0, target->id);
player_node->walk_time = tick_time;