back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/client/client.c
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-08-18 22:24:30 +0300
committerscratko <m@scratko.xyz>2024-08-18 22:24:30 +0300
commitb4b784928cbec4a93c71f3ca1e37a14397929edb (patch)
treeefb86b0a710f22337c3319bedc7870488801896f /client/client.c
parent9970a2275a56d7835ba0c12a8586dc25cf7ec1cf (diff)
downloaddurak-b4b784928cbec4a93c71f3ca1e37a14397929edb.tar.gz
durak-b4b784928cbec4a93c71f3ca1e37a14397929edb.tar.bz2
durak-b4b784928cbec4a93c71f3ca1e37a14397929edb.zip
Final version v1.0
Fixed stack clearing. Added check for NULL before clearing game parameters. Added refactoring of define_phase_after_attack(). Analyzing game results is organized into several functions. Fixed card limit detection on tossing (line 366 in server_data_processing.c).
Diffstat (limited to 'client/client.c')
-rw-r--r--client/client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/client/client.c b/client/client.c
index 66bfb01..dbe2bf1 100644
--- a/client/client.c
+++ b/client/client.c
@@ -33,7 +33,6 @@ static void get_data_from_server(struct client *cl, fd_set *readfds)
/* end of file -- closed connection (from server) */
if(!cl->data_left_in_buffer) {
clean_up_resources(cl);
- pgf_disconnect();
exit(0);
}
#ifdef DEBUG