diff options
Diffstat (limited to 'src/cract.cc')
| -rw-r--r-- | src/cract.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cract.cc b/src/cract.cc index 8397d79..f30415d 100644 --- a/src/cract.cc +++ b/src/cract.cc @@ -1513,7 +1513,7 @@ void TCreature::NotifyChangeInventory(void){ this->Combat.CheckCombatValues(); if(this->Type == PLAYER){ - int NewDelta[NARRAY(this->Skills)]; + int NewDelta[NARRAY(this->Skills)] = {}; for(int Position = INVENTORY_FIRST; Position <= INVENTORY_LAST; Position += 1){ |
