fix uninitialized member vars everywhere

also fix a spelling error of 'forground' in the graphics class buffer
This commit is contained in:
viri
2020-01-10 18:37:23 -06:00
committed by Ethan Lee
parent fb41d93835
commit 5829007bed
7 changed files with 58 additions and 16 deletions

View File

@@ -206,8 +206,14 @@ musicclass::musicclass()
FadeVolAmountPerFrame = 0;
custompd = false;
// currentsong = -1;
// nicefade = 0;
currentsong = 0;
musicfade = 0;
musicfadein = 0;
nicechange = 0;
nicefade = 0;
resumesong = 0;
volume = 0.0f;
}
void musicclass::play(int t)