diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2008-09-25 22:55:25 +0000 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2008-09-25 22:55:25 +0000 |
commit | 64730b32e2c595469eb23e9cd40332b4a80e3e27 (patch) | |
tree | a75a17a7c7ac78e2e323e1cdecef8f6a3939f844 /sigmod/Tile.cpp | |
parent | 4c4fdc8d4540bd1bd52021b502f05f27a8ef98e1 (diff) | |
download | sigen-64730b32e2c595469eb23e9cd40332b4a80e3e27.tar.gz sigen-64730b32e2c595469eb23e9cd40332b4a80e3e27.tar.xz sigen-64730b32e2c595469eb23e9cd40332b4a80e3e27.zip |
[FIX] Removed *_End defines
[FIX] Added weights to items and associated fields
[FIX] Option for pausing during ATB battles when choosing moves added
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@267 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'sigmod/Tile.cpp')
-rw-r--r-- | sigmod/Tile.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sigmod/Tile.cpp b/sigmod/Tile.cpp index 37854648..31f51c6b 100644 --- a/sigmod/Tile.cpp +++ b/sigmod/Tile.cpp @@ -33,7 +33,7 @@ Sigmod::Tile::Tile(const Sigmod* parent, const int id) : Object(parent, id), m_name(""), m_sprite(-1), - m_from(D_End), + m_from(D_Right - D_Up + 1), m_script("", "") { for (int i = 0; i < m_from.size(); ++i) @@ -41,13 +41,15 @@ Sigmod::Tile::Tile(const Sigmod* parent, const int id) : } Sigmod::Tile::Tile(const Tile& tile, const Sigmod* parent, const int id) : - Object(parent, id) + Object(parent, id), + m_from(D_Right - D_Up + 1) { *this = tile; } Sigmod::Tile::Tile(const QDomElement& xml, const Sigmod* parent, const int id) : - Object(parent, id) + Object(parent, id), + m_from(D_Right - D_Up + 1) { LOAD_ID(); load(xml); |