diff options
author | chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> | 2014-03-08 03:31:41 +0000 |
---|---|---|
committer | chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> | 2014-03-08 03:31:41 +0000 |
commit | f1f5194adbeb79229a7707ec22bfd08091b13019 (patch) | |
tree | 44d1e54aa25e727e75a1a173bfe312820f6a17c0 /hgehelp | |
parent | 12698ba3f7e585a2bc6d55d718495094d754eca4 (diff) | |
download | bullet-lab-remix-f1f5194adbeb79229a7707ec22bfd08091b13019.tar.xz |
Final fix of Pre-release version.
Diffstat (limited to 'hgehelp')
-rw-r--r-- | hgehelp/hgeparticle.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hgehelp/hgeparticle.cpp b/hgehelp/hgeparticle.cpp index 9c5f678..d6051c1 100644 --- a/hgehelp/hgeparticle.cpp +++ b/hgehelp/hgeparticle.cpp @@ -29,6 +29,9 @@ hgeParticleSystem::hgeParticleSystem(const char *filename, hgeSprite *sprite, fl info.sprite = sprite; ptr += 4; // skip these bytes. +#ifdef WIN32 +#define BYTESWAP(a) +#endif #define SETMEMBER(typ, x) \ { info.x = *((const typ *) ptr); ptr += sizeof (typ); BYTESWAP(info.x); } SETMEMBER(int, nEmission); |