summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-29 01:24:49 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-29 01:24:49 +0300
commitca130a19b36a78c6a23aa56c6ea82eaa187b0a06 (patch)
treea22f311c5698f3f4ee370c0f1d3cb05230a1da95 /src/gui/windows/shopwindow.h
parenteeffaaf3ab0593f815e772bfb523b9e7a94d45f5 (diff)
downloadmanaplus-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.gz
manaplus-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.bz2
manaplus-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.xz
manaplus-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.zip
Use time_t for time values.
Diffstat (limited to 'src/gui/windows/shopwindow.h')
-rw-r--r--src/gui/windows/shopwindow.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/shopwindow.h b/src/gui/windows/shopwindow.h
index 3123178e7..50d924a1f 100644
--- a/src/gui/windows/shopwindow.h
+++ b/src/gui/windows/shopwindow.h
@@ -136,7 +136,7 @@ class ShopWindow final : public Window,
const int mode);
void updateTimes();
- static bool checkFloodCounter(int &counterTime) A_WARN_UNUSED;
+ static bool checkFloodCounter(time_t &counterTime) A_WARN_UNUSED;
bool findShopItem(const ShopItem *const shopItem,
const int mode) const A_WARN_UNUSED;
@@ -188,9 +188,9 @@ class ShopWindow final : public Window,
std::string mTradeNick;
std::string mSellShopName;
int mSelectedItem;
- int mAnnonceTime;
- int mLastRequestTimeList;
- int mLastRequestTimeItem;
+ time_t mAnnonceTime;
+ time_t mLastRequestTimeList;
+ time_t mLastRequestTimeItem;
int mRandCounter;
int mTradeMoney;
int mSellShopSize;