summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-04-15 23:55:14 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-04-16 00:18:39 +0200
commit0056412ed33b941d72a175dcd3f025abcd8fc02b (patch)
tree4be4363c0b248a3b2d32ef1d5c43941c94f5e93b /src/map.h
parent6f247d1fa09ce55cd96bb0fd75315fdd4e385c50 (diff)
downloadmana-0056412ed33b941d72a175dcd3f025abcd8fc02b.tar.gz
mana-0056412ed33b941d72a175dcd3f025abcd8fc02b.tar.bz2
mana-0056412ed33b941d72a175dcd3f025abcd8fc02b.tar.xz
mana-0056412ed33b941d72a175dcd3f025abcd8fc02b.zip
Post-review fixes.
- Removed unnecessary comments - Removed a useless contains() check in getTileCenter() - Fix the above function documentation - Don't permit FloorItem to be created without a map object. Reviewed-by: Thorbjorn Lindeijer.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index a2bd791a..d49cd920 100644
--- a/src/map.h
+++ b/src/map.h
@@ -268,7 +268,7 @@ class Map : public Properties
{ return mTileHeight; }
/**
- * Returns the nearest tile center position in pixels coordinates.
+ * Returns the tile center position in pixel coordinates.
*
* @param x the horizontal tile position
* @param y the vertical tile position