(svn r2654) SlWriteUint16() should have a uint16 as parameter, not some arbitrary enum
--- a/saveload.c Wed Jul 20 17:48:35 2005 +0000
+++ b/saveload.c Wed Jul 20 19:08:02 2005 +0000
@@ -121,7 +121,7 @@
return (uint64)x << 32 | y;
}
-static inline void SlWriteUint16(VarType v)
+static inline void SlWriteUint16(uint16 v)
{
SlWriteByte((byte)(v >> 8));
SlWriteByte((byte)v);