diff options
-rw-r--r-- | engines/scumm/he/moonbase/ai_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/moonbase/ai_types.h b/engines/scumm/he/moonbase/ai_types.h index e2de87d653..bb16a737e9 100644 --- a/engines/scumm/he/moonbase/ai_types.h +++ b/engines/scumm/he/moonbase/ai_types.h @@ -72,7 +72,7 @@ public: AIEntity(int id); ~AIEntity() { if (_nameString) { - delete _nameString; + delete[] _nameString; _nameString = 0; } } |