diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-24 17:08:58 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-24 17:08:58 +0000 |
commit | f762bfba6e4e3e29db6898f1c61023f662330270 (patch) | |
tree | e0809191f340d0c1f4ce5315a3d19b6540d03e64 /src/map/map.c | |
parent | d8b857ad9db40f4e6345419c8d3659b7914519e7 (diff) | |
download | hercules-f762bfba6e4e3e29db6898f1c61023f662330270.tar.gz hercules-f762bfba6e4e3e29db6898f1c61023f662330270.tar.bz2 hercules-f762bfba6e4e3e29db6898f1c61023f662330270.tar.xz hercules-f762bfba6e4e3e29db6898f1c61023f662330270.zip |
update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@779 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c index 0150926d7..55718a37d 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -2476,3 +2476,15 @@ int do_init(int argc, char *argv[]) { return 0; } + +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])); +} |