summaryrefslogtreecommitdiff
path: root/src/map/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.cpp')
-rw-r--r--src/map/map.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp
index 4fa511a..132afac 100644
--- a/src/map/map.cpp
+++ b/src/map/map.cpp
@@ -1629,13 +1629,7 @@ void term_func(void)
int compare_item(struct item *a, struct item *b)
{
- return ((a->nameid == b->nameid) &&
- (a->identify == b->identify) &&
- (a->refine == b->refine) &&
- (a->attribute == b->attribute) &&
- (a->card[0] == b->card[0]) &&
- (a->card[1] == b->card[1]) &&
- (a->card[2] == b->card[2]) && (a->card[3] == b->card[3]));
+ return (a->nameid == b->nameid);
}
static