2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-22 18:05:23 +01:00

Fix VectorCopy to work correctly with pointers again

This commit is contained in:
Roman Chistokhodov 2020-02-16 11:19:30 +03:00
parent c6d793231c
commit 18127ef848

View File

@ -63,7 +63,7 @@ typedef unsigned char byte;
#include "animation.h" #include "animation.h"
#include "scriptevent.h" #include "scriptevent.h"
#include "studio.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 #endif
#pragma warning( disable : 4244 ) #pragma warning( disable : 4244 )