diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-11-27 12:21:08 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-11-27 22:48:30 +0100 |
commit | 8b9e6a0abb6291ce7b37b44375151e421bca0de4 (patch) | |
tree | 278b1397d0d11bb36f63c7ce5605301d090a7d64 /common/tile.h | |
parent | c681f5749480524e265c7da390c95f2c8046ab00 (diff) |
Force all fields of Tile to be initialized.
Diffstat (limited to 'common/tile.h')
-rw-r--r-- | common/tile.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/common/tile.h b/common/tile.h index 748d80b..461e145 100644 --- a/common/tile.h +++ b/common/tile.h @@ -61,11 +61,8 @@ class Tile { bool rotated; bool invisible; - //! Default constructor. - Tile(); - //! Construct tile by type. - Tile(Type t, bool re = false, bool ro = false); + Tile(Type t = Back, bool re = false, bool ro = false); //! Construct tile by set and number. Tile(Set s, int num, bool re = false, bool ro = false); |