mirror of https://github.com/OpenTTD/OpenTTD
(svn r2654) SlWriteUint16() should have a uint16 as parameter, not some arbitrary enum
parent
3720503e7c
commit
4130198f48
|
@ -121,7 +121,7 @@ static inline uint64 SlReadUint64(void)
|
||||||
return (uint64)x << 32 | y;
|
return (uint64)x << 32 | y;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void SlWriteUint16(VarType v)
|
static inline void SlWriteUint16(uint16 v)
|
||||||
{
|
{
|
||||||
SlWriteByte((byte)(v >> 8));
|
SlWriteByte((byte)(v >> 8));
|
||||||
SlWriteByte((byte)v);
|
SlWriteByte((byte)v);
|
||||||
|
|
Loading…
Reference in New Issue