diff options
author | Daniel Bradshaw <daniel+commits@the-cell.co.uk> | 2010-01-26 21:02:20 +0000 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-01-28 10:19:12 +0100 |
commit | ca2950fb8bffa9924aa49ab1d4729dbc2a391752 (patch) | |
tree | d95f92db525f415a4107ed8704b75368b70da967 /src/being.h | |
parent | 8d299d86c1209be6084e0d78c0454c946874e00f (diff) | |
download | mana-ca2950fb8bffa9924aa49ab1d4729dbc2a391752.tar.gz mana-ca2950fb8bffa9924aa49ab1d4729dbc2a391752.tar.bz2 mana-ca2950fb8bffa9924aa49ab1d4729dbc2a391752.tar.xz mana-ca2950fb8bffa9924aa49ab1d4729dbc2a391752.zip |
Added virtual destructors, some implicit casts, and a couple of type changes.
Many warnings removed.
Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.h b/src/being.h index c564482a..d7e9063f 100644 --- a/src/being.h +++ b/src/being.h @@ -392,7 +392,7 @@ class Being : public Sprite, public ConfigListener * Returns the X coordinate in pixels. */ int getPixelX() const - { return mPos.x; } + { return (int) mPos.x; } /** * Returns the Y coordinate in pixels. @@ -400,7 +400,7 @@ class Being : public Sprite, public ConfigListener * @see Sprite::getPixelY() */ int getPixelY() const - { return mPos.y; } + { return (int) mPos.y; } /** * Sets the position of this being. |