summaryrefslogtreecommitdiff
path: root/src/equipment.cpp
diff options
context:
space:
mode:
authorCedric Borgese <cedric.borgese@gmail.com>2005-07-19 18:55:40 +0000
committerCedric Borgese <cedric.borgese@gmail.com>2005-07-19 18:55:40 +0000
commit0c7c90968978a122311e1f99e739a57440153c4e (patch)
treec1bf02c3dcb30f4ada12c6146288c7f76f6875fe /src/equipment.cpp
parent5c2584bb682634785c12ffb4fbf4d4678991ff40 (diff)
downloadmana-0c7c90968978a122311e1f99e739a57440153c4e.tar.gz
mana-0c7c90968978a122311e1f99e739a57440153c4e.tar.bz2
mana-0c7c90968978a122311e1f99e739a57440153c4e.tar.xz
mana-0c7c90968978a122311e1f99e739a57440153c4e.zip
Add a missing member initialisation in the constructor that cause
a crash when trying to open the equipment window.
Diffstat (limited to 'src/equipment.cpp')
-rw-r--r--src/equipment.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/equipment.cpp b/src/equipment.cpp
index 6a470e03..b4d98441 100644
--- a/src/equipment.cpp
+++ b/src/equipment.cpp
@@ -30,6 +30,7 @@ Equipment::Equipment()
for (int i = 0; i < EQUIPMENT_SIZE; i++) {
equipment[i] = 0;
}
+ arrows = NULL;
}
Equipment::~Equipment()