summaryrefslogtreecommitdiff
path: root/macros.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-03-25 14:19:33 +0000
committertron <tron@openttd.org>2005-03-25 14:19:33 +0000
commit9832a691fe1db29d9564c4fbea0c057faa1e030c (patch)
treea7a6df81cc0c220bd888291e50a656b598e33b4b /macros.h
parent6d75cce924fb6c46be7a0cae11cf1485451d494f (diff)
downloadopenttd-9832a691fe1db29d9564c4fbea0c057faa1e030c.tar.xz
(svn r2060) Clean up some string construction and remove now unused macro
Diffstat (limited to 'macros.h')
-rw-r--r--macros.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/macros.h b/macros.h
index 1cd554ebf..81eae88cb 100644
--- a/macros.h
+++ b/macros.h
@@ -151,9 +151,4 @@ static inline void swap_tile(TileIndex *a, TileIndex *b) { TileIndex t = *a; *a
}
#endif
-static inline void WRITE_LE_UINT16(void *b, uint16 x) {
- ((byte*)b)[0] = (byte)x;
- ((byte*)b)[1] = (byte)(x >> 8);
-}
-
#endif /* MACROS_H */