From d54b705287a5705080c1d423ba3026e1a767c6a2 Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Fri, 24 Feb 2006 22:50:51 +0000 Subject: [PATCH] Yet another vfr fix Originally committed to SVN as r156. --- core/vfr.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/core/vfr.cpp b/core/vfr.cpp index 18cae2b81..fdfa73cfb 100644 --- a/core/vfr.cpp +++ b/core/vfr.cpp @@ -346,13 +346,7 @@ int FrameRate::PTimeAtFrame(int frame) { // returns the adjusted time for end frames when start=false // otherwise for start frames int FrameRate::GetFrameAtTime(int ms,bool start) { - if (start) { - if (FrameRateType == VFR) return PFrameAtTime(ms); - else return PFrameAtTime(ms,start); - } - else { - return PFrameAtTime(ms); - } + PFrameAtTime(ms,start); }