game and db is building on windows

This commit is contained in:
d1str4ught
2025-08-18 03:33:51 +02:00
parent 34000c3306
commit d87277458c
807 changed files with 273537 additions and 8380 deletions

View File

@@ -1,5 +1,5 @@
#include "stdafx.h"
#include "../../common/stl.h"
#include "common/stl.h"
#include "constants.h"
#include "skill.h"
@@ -101,7 +101,7 @@ bool CSkillManager::Initialize(TSkillTable * pTab, int iSize)
CSkillProto * pkProto = M2_NEW CSkillProto;
pkProto->dwVnum = t->dwVnum;
strlcpy(pkProto->szName, t->szName, sizeof(pkProto->szName));
std::strncpy(pkProto->szName, t->szName, sizeof(pkProto->szName));
pkProto->dwType = t->bType;
pkProto->bMaxLevel = t->bMaxLevel;
pkProto->dwFlag = t->dwFlag;