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

@@ -25,7 +25,17 @@ scriptclass::scriptclass()
scriptdelay = 0;
running = false;
b = 0;
g = 0;
i = 0;
j = 0;
k = 0;
loopcount = 0;
looppoint = 0;
r = 0;
textx = 0;
texty = 0;
txtnumlines = 0;
}
void scriptclass::clearcustom(){