[4.4-cvs][patch] Some minor updates proposals
As of 15th March public NightDump.
zone/client.cpp
Correction of buffer1[] size in the MakeDoorSpawnPacket function
(Segfault on both Windows and Linux, but wrong anyway in the CVS for weeks, was corrected once but somehow broke again).
zone/spells.cpp
In function CalcEdibleBonuses, after the inventory scan for food and drink, food_inr and drink_inr might still be uninitialized but are used anyway.
zone/zone.cpp
The request in Database::GetDecayTimes() include a like 'decaytime%' string which is parsed further by vsnprintf() via the MakeAnyLenString function. %' format switch doesn't exist and might fail (it does with .Net libraries).
Corrected to %%'
I doubt anyone will either see this post, but at least it is not only on my harddrive anymore.
|