Browse Source

Merge pull request #118 from FreeSlave/fix_vectorcopy

Fix VectorCopy to work correctly with pointers again
hl_urbicide
Andrey Akhmichin 5 years ago committed by GitHub
parent
commit
03d65581f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dlls/animation.cpp

2
dlls/animation.cpp

@ -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 )

Loading…
Cancel
Save