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:
Lee Salzman
2008-08-14 08:58:07 +00:00
parent bd46ea29a6
commit 3b05838c82
9 changed files with 47 additions and 33 deletions
+1 -1
View File
@@ -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);