summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/tile.cpp4
-rw-r--r--common/tile.h4
2 files changed, 4 insertions, 4 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);
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(){};