aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai.h
diff options
context:
space:
mode:
authorEugene Sandulenko2019-06-26 19:56:30 +0200
committerEugene Sandulenko2019-09-03 17:17:01 +0200
commit79e33b113a720ac8852c8960077288db265e8286 (patch)
tree6b1054f286aa75d6accd22c42537150cf21fde7f /engines/hdb/ai.h
parent03f84464cb91d0914e375e5fcdcebe4c1120c120 (diff)
downloadscummvm-rg350-79e33b113a720ac8852c8960077288db265e8286.tar.gz
scummvm-rg350-79e33b113a720ac8852c8960077288db265e8286.tar.bz2
scummvm-rg350-79e33b113a720ac8852c8960077288db265e8286.zip
HDB: Fix CineCommand struct, use const char * insted of preallocated arrays
Diffstat (limited to 'engines/hdb/ai.h')
-rw-r--r--engines/hdb/ai.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h
index 4f18a57190..51b8657d6f 100644
--- a/engines/hdb/ai.h
+++ b/engines/hdb/ai.h
@@ -626,14 +626,14 @@ struct CineCommand {
int start, end;
uint32 delay;
int speed;
- char title[32];
- char string[32];
- char *id;
+ const char *title;
+ const char *string;
+ const char *id;
AIEntity *e;
Picture *pic;
CineCommand() : cmdType(C_NO_COMMAND), x(0.0), y(0.0), x2(0.0), y2(0.0), xv(0.0), yv(0.0),
- start(0), end(0), delay(0), speed(0), title(""), string(""), id(NULL), e(NULL), pic(NULL) {}
+ start(0), end(0), delay(0), speed(0), title(NULL), string(NULL), id(NULL), e(NULL), pic(NULL) {}
};
struct CineBlit {