Merge updates from the nightly branch #34

Merged
Exynox merged 73 commits from nightly into master 2024-11-16 18:17:14 +02:00
Showing only changes of commit ebc479b7df - Show all commits

View File

@ -1129,7 +1129,7 @@ bool CItem::AddSocket()
void CItem::AlterToSocketItem(int iSocketCount)
{
if (iSocketCount >= ITEM_SOCKET_MAX_NUM)
if (iSocketCount > ITEM_SOCKET_MAX_NUM)
{
SPDLOG_ERROR("Invalid Socket Count {}, set to maximum", (int) ITEM_SOCKET_MAX_NUM);
iSocketCount = ITEM_SOCKET_MAX_NUM;