From: nveid Date: Tue, 31 Oct 2006 20:22:13 +0000 (+0000) Subject: supathfix - if a player was nuked at the end of the su exit path.. fuxked X-Git-Tag: 0.72p2~2 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=045b6267a0376bdcfe0ecec544a40e9cf4b69d60;p=cobramush.git supathfix - if a player was nuked at the end of the su exit path.. fuxked ups hit (cherry picked from commit 6209657c7032fd94b38aed01a9986e5970909246) --- diff --git a/game/txt/changes/0.72p2 b/game/txt/changes/0.72p2 index b8de444..afb3b19 100644 --- a/game/txt/changes/0.72p2 +++ b/game/txt/changes/0.72p2 @@ -29,3 +29,5 @@ CobraMUSH Version 0.72p2 that did not handle the GOAHEAD prompt telnet code. [RLB] * Quotas were not accounting new Division quotas restrictions correctly for display using the @quota command. [RLB] + * If a player was nuked at the end of the chain before the login + screen in the su exit path. Game would crash. [RLB] diff --git a/src/bsd.c b/src/bsd.c index 18a0915..a5e84f4 100644 --- a/src/bsd.c +++ b/src/bsd.c @@ -5742,9 +5742,9 @@ static int do_su_exit(DESC *d) { path_entry = path_entry->next; mush_free(mark_path, "SU_PATH_ENTRY"); } + d->su_exit_path = path_entry; if(!path_entry) return 0; - d->su_exit_path = path_entry; /* Disconnect appearance */ announce_disconnect(d->player); d->player = path_entry->player;