gcc 4.3 warning/bug fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2320 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -734,7 +734,7 @@ struct oggstream : sourceowner
|
||||
if(playing()) return true;
|
||||
this->looping = looping;
|
||||
if(!stream(bufferids[0]) || !stream(bufferids[1])) return false;
|
||||
if(startmillis == endmillis == startfademillis == endfademillis == 0) setgain(1.0f);
|
||||
if(!startmillis && !endmillis && !startfademillis && !endfademillis) setgain(1.0f);
|
||||
|
||||
updategain();
|
||||
src->queuebuffers(2, bufferids);
|
||||
|
||||
Reference in New Issue
Block a user