summaryrefslogtreecommitdiff
path: root/src/map/instance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/instance.c')
-rw-r--r--src/map/instance.c4
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;