View Single Post
Old 08-03-2006, 05:31 PM   #88
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
this bug is kinda funny, raven forgot to put a tempSpec check in /follow and followprev/next.

Cmd_Follow_f add this below the other spectator check:

Code:
	// can't follow another spectator
	if ( level.clients[ i ].tempSpectate >= level.time ) {
		return;
	}
Cmd_FollowCycle_f add this below the other spectator check in the do while loop:

Code:
		// can't follow another spectator
		if ( level.clients[ clientnum ].tempSpectate >= level.time ) {
			continue;
		}
also, there are some pieces in the code that check if tempSpectate > level.time, it should always be >= level.time because level.time and above means you are tempSpectate, less than means you are not.


iojamp project lead / coder
ensiform is offline   you may: quote & reply,