diff --git a/AGILE/GameState.cs b/AGILE/GameState.cs index feea0e5..1adc172 100644 --- a/AGILE/GameState.cs +++ b/AGILE/GameState.cs @@ -215,6 +215,7 @@ public GameState(Game game) /// public void Init() { + ClearStrings(); ClearVars(); Vars[Defines.MACHINE_TYPE] = 0; // IBM PC Vars[Defines.MONITOR_TYPE] = 3; // EGA @@ -463,5 +464,16 @@ public void ClearControllers() Controllers[i] = false; } } + + /// + /// Clears all of the AGI Strings to be empty. + /// + public void ClearStrings() + { + for (int i = 0; i < Defines.NUMSTRINGS; i++) + { + Strings[i] = ""; + } + } } }