rnd-20091011-1-src
[rocksndiamonds.git] / src / game_sp / Murphy.c
index bfe6854a6264ffac33e667d0b9f2da128b2b6e5a..bcd61200f89d6973bab19df1fdf29d10ea7d16fa 100644 (file)
@@ -2333,8 +2333,14 @@ int subSpPortTest(int si)
 
   for (i = 0; i < cx; i++)
   {
+#if 1
+    /* this assumes that PortLocation is stored as big endian */
+    bx = LInfo.SpecialPort[i].PortLocation;
+#else
+    /* this assumes that PortLocation is stored as little endian */
     bx = HighByte(LInfo.SpecialPort[i].PortLocation);
     MovHighByte(&bx, LowByte(LInfo.SpecialPort[i].PortLocation));
+#endif
 
     if (bx / 2 == si)
     {