aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/agi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/agi.cpp')
-rw-r--r--engines/agi/agi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp
index ee71c73da8..5552e7081f 100644
--- a/engines/agi/agi.cpp
+++ b/engines/agi/agi.cpp
@@ -588,7 +588,7 @@ void AgiEngine::initialize() {
game.color_fg = 15;
game.color_bg = 0;
- *game.name = NULL;
+ game.name[0] = '\0';
game.sbuf = (uint8 *)calloc(_WIDTH, _HEIGHT);
game.hires = (uint8 *)calloc(_WIDTH * 2, _HEIGHT);