aboutsummaryrefslogtreecommitdiff
path: root/hgehelp
diff options
context:
space:
mode:
Diffstat (limited to 'hgehelp')
-rw-r--r--hgehelp/hgeparticle.cpp3
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);