From 106fb6de1cf3523c10197dc8e02ec44e94523f18 Mon Sep 17 00:00:00 2001 From: haranp Date: Tue, 1 May 2007 14:47:53 +0000 Subject: Type safety, cast cleanups, etc. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1401 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/stash.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/stash.h') diff --git a/crawl-ref/source/stash.h b/crawl-ref/source/stash.h index af11c6389e..a6bc8746da 100644 --- a/crawl-ref/source/stash.h +++ b/crawl-ref/source/stash.h @@ -72,8 +72,8 @@ public: bool isAt(int xp, int yp) const { return x == xp && y == yp; } int abs_pos() const { return abspos; } - int getX() const { return (int) x; } - int getY() const { return (int) y; } + int getX() const { return x; } + int getY() const { return y; } bool is_verified() const { return verified; } -- cgit v1.2.3-54-g00ecf