Error LNK2005 "public: virtual bool __thiscall CBaseTurret::Save(class CSave &)" (?Save@CBaseTurret@@UAE_NAAVCSave@@@Z) already defined in playerSentry.obj hldll C:\Nk\halflife-updated-master\projects\vs2019\turret.obj 1
Error LNK2005 "public: virtual bool __thiscall CBaseTurret::Restore(class CRestore &)" (?Restore@CBaseTurret@@UAE_NAAVCRestore@@@Z) already defined in playerSentry.obj hldll C:\Nk\halflife-updated-master\projects\vs2019\turret.obj 1
I keep seeing this error quite often, though. What is the deal here?EDIT: Nevermind, fixed it. i accidentally copied a part of definition to turret.h and it messed up everything.