From 8d6a6477f907793d950261ee7e87cb61e4858569 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Mon, 9 Jan 2017 22:45:18 +0100 Subject: [PATCH] Fixed a bug in which weapons weren't wiped when switching teams during a match --- Source/Server/Spawn.c | 5 +++++ opencs/progs.dat | Bin 163226 -> 163290 bytes 2 files changed, 5 insertions(+) diff --git a/Source/Server/Spawn.c b/Source/Server/Spawn.c index 27d203a0..f550738b 100644 --- a/Source/Server/Spawn.c +++ b/Source/Server/Spawn.c @@ -193,6 +193,11 @@ void CSEv_GamePlayerSpawn_f( float fChar ) { } } + self.fSlotMelee = 0; + self.fSlotPrimary = 0; + self.fSlotSecondary = 0; + self.fSlotGrenade = 0; + // Spawn the players immediately when its in the freeze state switch ( fGameState ) { case GAME_FREEZE: diff --git a/opencs/progs.dat b/opencs/progs.dat index 3600e87ba5628d9f334bf27a73a1fcce6a54ea43..a1d875a4fc63c82285703f6d93049f06d2952065 100644 GIT binary patch delta 227 zcmbRBoAcIhPD6GE1_pI;1_qaN3=F|QTHy&JLpe7C!wq{ThK-C240k#h89JF57$yMK zZ8^)pkTB6unDI!X>sD9B{5n=S1{nsc=?`le<)=TWWfb7CW#-~hWzb>d;$dLezNL=w zO%kKs^o0)@l^N})9|chk(_exp$LYL}fRxL0LlAX-dMJ=$ViKQT^@vf4iB)|1JP^$$ zKK&4gW*49S3`jF_Oy_(IRLwbE7evWS4+K$a(@Q~=1+~3MhmW#g+cNr?2^gkO5MQ5pa*#qimto?6RQ}+-D)(s z4*zHREZ^aK3ygJOlwtr1DWGu%+S-Rt7{-BRU13YWW3CPS#33A5GeUtjO z`?l%Tr7}OCl%onqJWZ90g2f%7#slHV3yu1ieDEl%LX+>}*JR~ue