Remove write-only variable multi_do_guided::fun
This commit is contained in:
parent
ed86b53395
commit
9312b0b00f
|
@ -3629,23 +3629,14 @@ void multi_send_guided_info (const vobjptr_t miss,char done)
|
|||
static void multi_do_guided (const playernum_t pnum, const ubyte *buf)
|
||||
{
|
||||
int count=3;
|
||||
static int fun=200;
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
shortpos sp;
|
||||
#endif
|
||||
|
||||
if (Guided_missile[(int)pnum]==NULL)
|
||||
{
|
||||
if (++fun>=50)
|
||||
{
|
||||
fun=0;
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if (++fun>=50)
|
||||
{
|
||||
fun=0;
|
||||
}
|
||||
|
||||
if (buf[2])
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue