Skip to content

Commit

Permalink
Only run Sv_Ticker() with dedicated servers
Browse files Browse the repository at this point in the history
Single-player code should never concern itself with server specific
code. We no longer have to support the "single-player server" mode
that was previously used for recording demos. In the future, demo
recording will work with the local dedicated server that also runs
single-player games (unified networking).
  • Loading branch information
skyjake committed May 1, 2012
1 parent ee85890 commit 74bf753
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/engine/portable/src/sv_main.c
Expand Up @@ -1064,6 +1064,8 @@ void Sv_Ticker(timespan_t ticLength)
{
int i;

if(!isDedicated) return;

// Note last angles for all players.
for(i = 0; i < DDMAXPLAYERS; ++i)
{
Expand Down

0 comments on commit 74bf753

Please sign in to comment.