diff --git a/engines/groovie/saveload.cpp b/engines/groovie/saveload.cpp
index 78b79cf..75eacd7 100644
a
|
b
|
Common::InSaveFile *SaveLoad::openForLoading(const Common::String &target, int s
|
118 | 118 | case 0: |
119 | 119 | break; |
120 | 120 | case 16: // @ |
| 121 | case 254: // . (generated when pressing space) |
121 | 122 | c = ' '; |
122 | 123 | break; |
123 | 124 | case 244: // $ |
diff --git a/engines/groovie/script.cpp b/engines/groovie/script.cpp
index 7625151..2ef6c21 100644
a
|
b
|
void Script::savegame(uint slot) {
|
408 | 408 | // Cache the saved name |
409 | 409 | for (int i = 0; i < 15; i++) { |
410 | 410 | newchar = _variables[i] + 0x30; |
411 | | if ((newchar < 0x30 || newchar > 0x39) && (newchar < 0x41 || newchar > 0x7A)) { |
| 411 | if ((newchar < 0x30 || newchar > 0x39) && (newchar < 0x41 || newchar > 0x7A) && newchar != 0x2E) { |
412 | 412 | save[i] = '\0'; |
413 | 413 | break; |
| 414 | } else if (newchar == 0x2E) { // '.', generated when space is pressed |
| 415 | save[i] = ' '; |
414 | 416 | } else { |
415 | 417 | save[i] = newchar; |
416 | 418 | } |