projects
/
openitg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7172cc5
)
git-svn-id: https://openitg.svn.sourceforge.net/svnroot/openitg@318 83fadc84-e282...
author
Patrick McIlroy
<itgpmc@gmail.com>
Wed, 14 May 2008 07:12:53 +0000
(07:12 +0000)
committer
Patrick McIlroy
<itgpmc@gmail.com>
Wed, 14 May 2008 07:12:53 +0000
(07:12 +0000)
src/SongManager.cpp
patch
|
blob
|
history
diff --git
a/src/SongManager.cpp
b/src/SongManager.cpp
index
bc96e55
..
95807bf
100755
(executable)
--- a/
src/SongManager.cpp
+++ b/
src/SongManager.cpp
@@
-307,7
+307,7
@@
void SongManager::LoadPlayerSongs( PlayerNumber pn )
}
// we want to stop right on the number, not after. "Greater than" is added as a safeguard.
- if( iSongsLoaded >= PREFSMAN->m_iCustomsLoadMax )
+ if(
PREFSMAN->m_iCustomsLoadMax > 0 &&
iSongsLoaded >= PREFSMAN->m_iCustomsLoadMax )
{
LOG->Warn( "Loading interrupted. Limit of %i songs was reached, after %f seconds.",
(int)PREFSMAN->m_iCustomsLoadMax, LoadTimer.Ago() );