diff options
-rw-r--r-- | engines/gob/draw_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp index f2468766b0..ec57577eca 100644 --- a/engines/gob/draw_v2.cpp +++ b/engines/gob/draw_v2.cpp @@ -330,7 +330,7 @@ void Draw_v2::printText(void) { case 10: // loc_12C93 str[0] = (char)255; - *((int16*)(str+1)) = ptr - (char *)_vm->_game->_totTextData; + WRITE_LE_UINT16((uint16*)(str+1), ptr - (char *)_vm->_game->_totTextData); str[3] = 0; ptr++; i = *ptr++; |