diff options
author | Cedric Borgese <cedric.borgese@gmail.com> | 2005-07-19 18:55:40 +0000 |
---|---|---|
committer | Cedric Borgese <cedric.borgese@gmail.com> | 2005-07-19 18:55:40 +0000 |
commit | 0c7c90968978a122311e1f99e739a57440153c4e (patch) | |
tree | c1bf02c3dcb30f4ada12c6146288c7f76f6875fe /src/equipment.cpp | |
parent | 5c2584bb682634785c12ffb4fbf4d4678991ff40 (diff) | |
download | mana-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.cpp | 1 |
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() |