From 0da7a047a2d2be8ae3f551e0802ceaa2cd882f99 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Fri, 19 Nov 2010 17:50:39 +0100 Subject: Remove useless Tile(uint16_t) constructor. --- common/tile.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'common/tile.cpp') diff --git a/common/tile.cpp b/common/tile.cpp index 6164fcc..1b3dcd7 100644 --- a/common/tile.cpp +++ b/common/tile.cpp @@ -7,9 +7,3 @@ Tile::Tile() { Tile::Tile(Tile::Type t, bool re, bool ro) : type(t), red(re), rotated(ro){ } - -Tile::Tile(uint16_t w) { - type = Type(w & 0x00ff); - red = (w >> 8); - rotated = (w >> 9); -} -- cgit v1.2.3