aboutsummaryrefslogtreecommitdiff
path: root/src/game/Mail.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Mail.h')
-rw-r--r--src/game/Mail.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/Mail.h b/src/game/Mail.h
index 784028e6d5d..6bac6d60735 100644
--- a/src/game/Mail.h
+++ b/src/game/Mail.h
@@ -1,7 +1,7 @@
/*
- * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
+ * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
- * Copyright (C) 2008 Trinity <http://www.trinitycore.org/>
+ * Copyright (C) 2008-2009 Trinity <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -196,11 +196,11 @@ struct Mail
}
}
- bool RemoveItem(uint32 itemId)
+ bool RemoveItem(uint32 item_guid)
{
for(std::vector<MailItemInfo>::iterator itr = items.begin(); itr != items.end(); ++itr)
{
- if(itr->item_guid == itemId)
+ if(itr->item_guid == item_guid)
{
items.erase(itr);
return true;