2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-12-01 22:40:28 +01:00

Merge pull request #118 from FreeSlave/fix_vectorcopy

Fix VectorCopy to work correctly with pointers again
This commit is contained in:
Andrey Akhmichin 2020-02-16 14:03:44 +05:00 committed by GitHub
commit 03d65581f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ typedef unsigned char byte;
#include "animation.h"
#include "scriptevent.h"
#include "studio.h"
#define VectorCopy(x,y) (y = x)
#define VectorCopy(a,b) {(b)[0]=(a)[0];(b)[1]=(a)[1];(b)[2]=(a)[2];}
#endif
#pragma warning( disable : 4244 )