- Updated options system
This commit is contained in:
wagic.the.homebrew
2009-01-29 13:35:19 +00:00
parent f5693e0b6f
commit b14e6c318e
11 changed files with 74 additions and 32 deletions
+1 -1
View File
@@ -733,7 +733,7 @@ class AManaProducer: public MTGAbility{
}
if (GameOptions::GetInstance()->values[OPTIONS_SFXVOLUME] > 0 && currentlyTapping < 3){
if (GameOptions::GetInstance()->values[OPTIONS_SFXVOLUME].getIntValue() > 0 && currentlyTapping < 3){
JSample * sample = SampleCache::GetInstance()->getSample("sound/sfx/mana.wav");
if (sample) JSoundSystem::GetInstance()->PlaySample(sample);
}