From 7b9e7dbbcf1d779419be8f22df812ff523a25450 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sat, 19 Jul 2025 16:44:58 -0300 Subject: 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. --- src/cract.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cract.cc') 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){ -- cgit v1.2.3