-// $Id: worldmap.hpp 2800 2005-10-02 22:57:31Z matzebraun $
-//
+// $Id$
+//
// SuperTux
// Copyright (C) 2006 Matthias Braun <matze@braunis.de>
//
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
-//
+//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
/* just wait */
// If we really have to wait long, then do an imprecise SDL_Delay()
Uint32 diff = fps_nextframe_ticks - ticks;
- if(diff > 15) {
- SDL_Delay(diff - 10);
+ if(diff > 10) {
+ SDL_Delay(diff - 2);
}
ticks = SDL_GetTicks();
}