- fixed: StreamSong::SetPosition required a NULL pointer check.

SVN r791 (trunk)
This commit is contained in:
Christoph Oelckers 2008-03-09 13:39:50 +00:00
parent 4576022c8d
commit 1e418576da
2 changed files with 9 additions and 1 deletions

View file

@ -1,4 +1,5 @@
March 9, 2008 (Changes by Graf Zahl)
- fixed: StreamSong::SetPosition required a NULL pointer check.
- fixed: The release build still linked to the old FMOD version.
- fixed: SPCSong only works for Win32 so its definition must be excluded for Linux.

View file

@ -83,5 +83,12 @@ bool StreamSong::IsPlaying ()
bool StreamSong::SetPosition(int order)
{
return m_Stream->SetPosition(order);
if (m_Stream != NULL)
{
return m_Stream->SetPosition(order);
}
else
{
return false;
}
}