From 5d91803c9ff9656c0e9103ebba843f7625500fdc Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 27 Nov 2010 12:24:23 +0100 Subject: Whoops, missed one. Also, we don't need to construct a rotated tile. --- common/tile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/tile.cpp') diff --git a/common/tile.cpp b/common/tile.cpp index 8ade606..4b7e3ef 100644 --- a/common/tile.cpp +++ b/common/tile.cpp @@ -2,11 +2,11 @@ #include -Tile::Tile(Tile::Type t, bool re, bool ro) : type(t), red(re), rotated(ro) { +Tile::Tile(Tile::Type t, bool re) : type(t), red(re), rotated(false), invisible(false) { } -Tile::Tile(Set s, int num, bool re, bool ro) : red(re), rotated(ro) { +Tile::Tile(Set s, int num, bool re) : red(re), rotated(false), invisible(false) { switch(s) { case Man: type = Type(Man_1 + num - 1); -- cgit v1.2.3