ddnet/src/game/server
bors[bot] 1cebe615dd Merge #1195
1195: Fix votespec on /pause (Fixes #1193) r=heinrich5991 a=ChillerDragon

I also thought about using a `` if (str_find(m_aVoteCommand, "set_team"))`` in front of the pause reset.
But then i thought its ok to unpause the VoteVictim every time.

I didn't test but i could belive that this can cause some unwanted unpause for a player with the id of the last VoteVictim on a server type vote for example. Thats why i also reset the ``m_VoteVictim`` to -1 to avoid this.

Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2018-07-10 07:26:08 +00:00
..
entities Fix all the header guards and adjust the script a little 2018-07-06 16:11:38 +02:00
gamemodes Fix all the header guards and adjust the script a little 2018-07-06 16:11:38 +02:00
score Fix all the header guards and adjust the script a little 2018-07-06 16:11:38 +02:00
ddracechat.cpp Update credits 2018-06-26 21:19:17 +02:00
ddracechat.h Fix all the header guards and adjust the script a little 2018-07-06 16:11:38 +02:00
ddracecommands.cpp More style fixes 2018-06-24 09:57:30 +02:00
entity.cpp fixed compiling using visual studio 2013 by renaming the round function 2014-04-22 23:46:55 +02:00
entity.h Remove mem_alloc and mem_free, use standard C functions instead 2018-04-09 11:56:39 +02:00
eventhandler.cpp Fix various broadcasting issues: 2014-01-12 15:56:16 +01:00
eventhandler.h Use <stdint.h> instead of <cstdint> 2018-06-24 17:00:21 +02:00
gamecontext.cpp Improved pause fix (thanks to heinrich5991) 2018-07-10 00:08:57 +02:00
gamecontext.h Unify spelling of Modhelp 2018-06-24 11:03:18 +02:00
gamecontroller.cpp Fix typo 2018-02-07 16:10:40 +08:00
gamecontroller.h Use <stdint.h> instead of <cstdint> 2018-06-24 17:00:21 +02:00
gameworld.cpp Rework pause. Fixes force_pause 2017-04-09 00:20:41 +02:00
gameworld.h Merge ddrace64 from eeeeee 2013-12-31 06:13:57 +01:00
player.cpp Merge #1157 #1160 2018-06-24 14:12:48 +00:00
player.h Merge #1157 #1160 2018-06-24 14:12:48 +00:00
save.cpp remove casts to CServer 2017-06-05 20:51:12 -07:00
save.h Fix all the header guards and adjust the script a little 2018-07-06 16:11:38 +02:00
score.h Fix all the header guards and adjust the script a little 2018-07-06 16:11:38 +02:00
teams.cpp Remove teamkill message on solo teams 2018-03-06 14:08:04 +01:00
teams.h Remove unused teams function 2018-02-27 16:40:52 +01:00
teehistorian.cpp Use more secure hash function for map downloads 2018-06-24 17:04:50 +02:00
teehistorian.h Fix all the header guards and adjust the script a little 2018-07-06 16:11:38 +02:00