mirror of
https://github.com/love2d/love.git
synced 2026-08-14 10:13:46 +02:00
Fixed file not closing after require(). Changed seek() to use seconds.
This commit is contained in:
@@ -85,9 +85,9 @@ namespace lullaby
|
||||
return r;
|
||||
}
|
||||
|
||||
bool ModPlugDecoder::seek(int ms)
|
||||
bool ModPlugDecoder::seek(float s)
|
||||
{
|
||||
ModPlug_Seek(plug, ms);
|
||||
ModPlug_Seek(plug, (int)(s*1000.0f));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user