diff options
author | shennetsind <ind@henn.et> | 2013-06-08 17:24:07 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-06-08 17:24:07 -0300 |
commit | 60eb0c9e0527e80b7793e48d2cea47e3204b777c (patch) | |
tree | 3ee0d20f14dd5655463425a167f3e28d101b2874 /src/map/instance.c | |
parent | 27147633d447400d4a095a4166c64d3a0df4e078 (diff) | |
download | hercules-60eb0c9e0527e80b7793e48d2cea47e3204b777c.tar.gz hercules-60eb0c9e0527e80b7793e48d2cea47e3204b777c.tar.bz2 hercules-60eb0c9e0527e80b7793e48d2cea47e3204b777c.tar.xz hercules-60eb0c9e0527e80b7793e48d2cea47e3204b777c.zip |
Follow up d73783f22b2bb881aab74524d153d89a5932a199
Adjusting party.c interface name to adhere with the rest (pretty much we try to make it as short as we can, and being there were no conflicts we saw no reason to maintain the 'i')
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/instance.c')
-rw-r--r-- | src/map/instance.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/instance.c b/src/map/instance.c index 75bb004eb..690f14cfe 100644 --- a/src/map/instance.c +++ b/src/map/instance.c @@ -64,7 +64,7 @@ int instance_create(int owner_id, const char *name, enum instance_owner_type typ icptr = &sd->instances; break; case IOT_PARTY: - if( ( p = iParty->search(owner_id) ) == NULL ) { + if( ( p = party->search(owner_id) ) == NULL ) { ShowError("instance_create: party %d not found for instance '%s'.\n", owner_id, name); return -2; } @@ -416,7 +416,7 @@ void instance_destroy(int instance_id) { icptr = &sd->instances; break; case IOT_PARTY: - if( ( p = iParty->search(instances[instance_id].owner_id) ) == NULL ) { + if( ( p = party->search(instances[instance_id].owner_id) ) == NULL ) { break; } iptr = p->instance; |