diff options
Diffstat (limited to 'scumm/string.cpp')
| -rw-r--r-- | scumm/string.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp index 670465345d..2697455bf3 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -28,6 +28,18 @@ #include "verbs.h" #include "scumm/sound.h" +void Scumm::setStringVars(int slot) { + StringTab *st = &_string[slot]; + st->xpos = st->t_xpos; + st->ypos = st->t_ypos; + st->center = st->t_center; + st->overhead = st->t_overhead; + st->no_talk_anim = st->t_no_talk_anim; + st->right = st->t_right; + st->color = st->t_color; + st->charset = st->t_charset; +} + void Scumm::unkMessage1() { byte buffer[100]; _msgPtrToAdd = buffer; |
