From 0c7c90968978a122311e1f99e739a57440153c4e Mon Sep 17 00:00:00 2001 From: Cedric Borgese Date: Tue, 19 Jul 2005 18:55:40 +0000 Subject: Add a missing member initialisation in the constructor that cause a crash when trying to open the equipment window. --- src/equipment.cpp | 1 + 1 file changed, 1 insertion(+) 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() -- cgit v1.2.3-70-g09d2