diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-07-19 16:44:58 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-07-19 16:47:25 -0300 |
| commit | 7b9e7dbbcf1d779419be8f22df812ff523a25450 (patch) | |
| tree | 1ecfaf7f24c59b373b03609598c7203161ffbc8c /src/cract.cc | |
| parent | d359c0af4874534efa810729d47f610a29687e93 (diff) | |
| download | game-7b9e7dbbcf1d779419be8f22df812ff523a25450.tar.gz game-7b9e7dbbcf1d779419be8f22df812ff523a25450.zip | |
fix some critical bugs
Aside from obvious gameplay bugs pretty much everywhere, the
game is finally in a PLAYABLE state. It should be smooth sailing
to get it stable for an initial test server.
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){ |
