Remove clamp macro
Doesn't really need to exist since all it's doing is inlining std::clamp.
This commit is contained in:
@@ -349,7 +349,7 @@ static bool LoadFromKSFFile( const RString &sPath, Steps &out, Song &song, bool
|
||||
// duh
|
||||
iTickCount = static_cast<int>(numTemp);
|
||||
// I have been owned by the man -DaisuMaster
|
||||
stepsTiming.SetTickcountAtBeat( fCurBeat, clamp(iTickCount, 0, ROWS_PER_BEAT) );
|
||||
stepsTiming.SetTickcountAtBeat( fCurBeat, std::clamp(iTickCount, 0, ROWS_PER_BEAT) );
|
||||
}
|
||||
else if (BeginsWith(sRowString, "|B"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user