From 11dfc1dd8baa9760f0c9206f56bbe6da9c563d97 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Thu, 9 Jun 2011 18:16:23 -0400 Subject: [PATCH] Deprecate Lua's HasNegativeBPMs(). Use HasWarps() instead. Hmm...is there a way to mark the XML with a deprecated tag? --- src/TimingData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TimingData.cpp b/src/TimingData.cpp index 1e57e455ac..f65c00122e 100644 --- a/src/TimingData.cpp +++ b/src/TimingData.cpp @@ -1746,7 +1746,7 @@ public: LuaHelpers::CreateTableFromArray(fBPMs, L); return 1; } - static int HasNegativeBPMs( T* p, lua_State *L ) { lua_pushboolean(L, p->m_bHasNegativeBpms); return 1; } + static int HasNegativeBPMs( T* p, lua_State *L ) { lua_pushboolean(L, p->HasWarps()); return 1; } // formerly in Song.cpp in sm-ssc private beta 1.x: static int GetBPMAtBeat( T* p, lua_State *L ) { lua_pushnumber(L, p->GetBPMAtBeat(FArg(1))); return 1; } static int GetBeatFromElapsedTime( T* p, lua_State *L ) { lua_pushnumber(L, p->GetBeatFromElapsedTime(FArg(1))); return 1; }