diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-11-27 12:24:23 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-11-27 22:48:38 +0100 |
commit | 5d91803c9ff9656c0e9103ebba843f7625500fdc (patch) | |
tree | 04fac754d5a85c573e7df3a5ad468b2da2d3aa10 /common/tile.cpp | |
parent | 8b9e6a0abb6291ce7b37b44375151e421bca0de4 (diff) |
Whoops, missed one. Also, we don't need to construct a rotated tile.
Diffstat (limited to 'common/tile.cpp')
-rw-r--r-- | common/tile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 <algorithm> -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); |