summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-06 23:58:49 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-07 00:00:21 +0200
commit3603521356ad1646d456a1681ff9f8a7c88ab458 (patch)
tree61fc32a6041c511e09538ac5bc801bbd172ade2b
parentef48d3556d4b1dc416c8cf5198c0e0af0f768e9e (diff)
downloadmana-3603521356ad1646d456a1681ff9f8a7c88ab458.tar.gz
mana-3603521356ad1646d456a1681ff9f8a7c88ab458.tar.bz2
mana-3603521356ad1646d456a1681ff9f8a7c88ab458.tar.xz
mana-3603521356ad1646d456a1681ff9f8a7c88ab458.zip
Fixed initialization of arrows equipment slot
Was still being initialized to the first item in the inventory instead of to nothing. I thought I had fixed this, but apparently it never got committed.
-rw-r--r--src/equipment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/equipment.cpp b/src/equipment.cpp
index 8fc09fa9..f760067c 100644
--- a/src/equipment.cpp
+++ b/src/equipment.cpp
@@ -30,7 +30,7 @@
Equipment::Equipment()
#ifdef EATHENA_SUPPORT
- : mArrows(0)
+ : mArrows(-1)
#endif
{
#ifdef TMWSERV_SUPPORT