Permalink
Browse files

* pause_delay is no-op, removed.

  • Loading branch information...
1 parent 90ccf59 commit 5fa707166add15bf43e36e5fc96bbcab0563a588 @bobbens committed Mar 14, 2011
Showing with 0 additions and 14 deletions.
  1. +0 −2 src/naev.c
  2. +0 −10 src/pause.c
  3. +0 −2 src/pause.h
View
@@ -729,7 +729,6 @@ static void update_all (void)
double nf, microdt;
if ((real_dt > 0.25) && (fps_skipped==0)) { /* slow timers down and rerun calculations */
- pause_delay((unsigned int)game_dt*1000);
fps_skipped = 1;
return;
}
@@ -742,7 +741,6 @@ static void update_all (void)
/* Update as much as needed, evenly. */
for (i=0; i<n; i++) {
- pause_delay( (unsigned int)(microdt*1000));
update_routine(microdt);
}
View
@@ -59,16 +59,6 @@ void unpause_game (void)
paused = 0; /* officially unpaused */
}
-
-/**
- * @brief Sets the timers back.
- * @param delay Delay to set timers back.
- */
-void pause_delay( unsigned int delay )
-{
- (void) delay;
-}
-
/**
* @brief Adjusts the game's dt modifier.
*/
View
@@ -16,7 +16,5 @@ void pause_setSpeed( double mod );
void pause_game (void);
void unpause_game (void);
-void pause_delay( unsigned int delay );
-
#endif /* PAUSE_H */

0 comments on commit 5fa7071

Please sign in to comment.