From 408d2abf903bb394a0c5e0d73c9d0a273daafb75 Mon Sep 17 00:00:00 2001 From: zicodxx Date: Fri, 13 May 2011 22:21:10 +0200 Subject: [PATCH] Send player position also when multi_send_player_explode() is called so powerups drop at the right spot in case the respawn packet arrives first --- CHANGELOG.txt | 4 ++++ main/multi.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index dfbf06592..276faaf59 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,9 @@ D1X-Rebirth Changelog +20110513 +-------- +main/multi.c: Send player position also when multi_send_player_explode() is called so powerups drop at the right spot in case the respawn packet arrives first + 20110507 -------- arch/carbon/conf.h: Enabled Tracker support for Mac OS diff --git a/main/multi.c b/main/multi.c index 45869e277..43b02b5e3 100644 --- a/main/multi.c +++ b/main/multi.c @@ -2334,6 +2334,8 @@ multi_send_player_explode(char type) Network_send_objnum = -1; } + multi_send_position(Players[Player_num].objnum); + multibuf[count++] = type; multibuf[count++] = Player_num; multibuf[count++] = (char)Players[Player_num].primary_weapon_flags;