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 ++-- common/tile.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'common') 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); diff --git a/common/tile.h b/common/tile.h index 461e145..df3ea76 100644 --- a/common/tile.h +++ b/common/tile.h @@ -62,10 +62,10 @@ class Tile { bool invisible; //! Construct tile by type. - Tile(Type t = Back, bool re = false, bool ro = false); + Tile(Type t = Back, bool re = false); //! Construct tile by set and number. - Tile(Set s, int num, bool re = false, bool ro = false); + Tile(Set s, int num, bool re = false); virtual ~Tile(){}; -- cgit v1.2.3