summaryrefslogtreecommitdiff
path: root/src/equipment.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-23 16:56:34 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-23 16:56:34 +0000
commit2590eefea680fa4e76de4e7ea25090cc97bd3488 (patch)
tree231dee28e4edca0b64cf0d17e67746ad4fdc6960 /src/equipment.cpp
parent2003fd3534a312128c620e7e36902ac07045516e (diff)
downloadmana-2590eefea680fa4e76de4e7ea25090cc97bd3488.tar.gz
mana-2590eefea680fa4e76de4e7ea25090cc97bd3488.tar.bz2
mana-2590eefea680fa4e76de4e7ea25090cc97bd3488.tar.xz
mana-2590eefea680fa4e76de4e7ea25090cc97bd3488.zip
* docs/HACKING.txt: Added info about member naming and ChangeLog
format. * src/gui/updatewindow.h, src/gui/updatewindow.cpp: Changed member names, set a 15 second timeout for connecting to update server and restore some doxygen comments.
Diffstat (limited to 'src/equipment.cpp')
-rw-r--r--src/equipment.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/equipment.cpp b/src/equipment.cpp
index b4d98441..55799b1a 100644
--- a/src/equipment.cpp
+++ b/src/equipment.cpp
@@ -25,12 +25,13 @@
Equipment *Equipment::instance = 0;
-Equipment::Equipment()
+Equipment::Equipment():
+ arrows(NULL)
{
- for (int i = 0; i < EQUIPMENT_SIZE; i++) {
+ for (int i = 0; i < EQUIPMENT_SIZE; i++)
+ {
equipment[i] = 0;
}
- arrows = NULL;
}
Equipment::~Equipment()