From f1f5194adbeb79229a7707ec22bfd08091b13019 Mon Sep 17 00:00:00 2001 From: "chirs241097@gmail.com" Date: Sat, 8 Mar 2014 03:31:41 +0000 Subject: Final fix of Pre-release version. --- hgehelp/hgeparticle.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3