summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-06 21:10:52 -0200
committershennetsind <ind@henn.et>2013-11-06 21:10:52 -0200
commitaaf34515fa9d32fae10c71b5b3f615857fd7e55e (patch)
treebec3964580ead4ed1d45f7bf51b418753004f16b /src/map/party.c
parenteaf04b9a2f0b399027df251c5d19d58d74e24e6a (diff)
parent87d7348396af97428638723ae49ca2ff166e4acd (diff)
downloadhercules-aaf34515fa9d32fae10c71b5b3f615857fd7e55e.tar.gz
hercules-aaf34515fa9d32fae10c71b5b3f615857fd7e55e.tar.bz2
hercules-aaf34515fa9d32fae10c71b5b3f615857fd7e55e.tar.xz
hercules-aaf34515fa9d32fae10c71b5b3f615857fd7e55e.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 1f82028a8..6caf3db23 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -1306,7 +1306,10 @@ void do_final_party(void) {
db_destroy(party->booking_db); // Party Booking [Spiria]
}
// Constructor, init vars
-void do_init_party(void) {
+void do_init_party(bool minimal) {
+ if (minimal)
+ return;
+
party->db = idb_alloc(DB_OPT_RELEASE_DATA);
party->booking_db = idb_alloc(DB_OPT_RELEASE_DATA); // Party Booking [Spiria]
timer->add_func_list(party->send_xy_timer, "party_send_xy_timer");