aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/scumm/insane/insane.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/insane/insane.cpp b/engines/scumm/insane/insane.cpp
index eaca1da4e7..fbd30fd5f9 100644
--- a/engines/scumm/insane/insane.cpp
+++ b/engines/scumm/insane/insane.cpp
@@ -1251,7 +1251,7 @@ void Insane::smlayer_overrideDrawActorAt(byte *arg_0, byte arg_4, byte arg_8) {
void Insane::smlayer_showStatusMsg(int32 arg_0, byte *renderBitmap, int32 codecparam,
int32 pos_x, int32 pos_y, int32 arg_14, int32 arg_18,
int32 flags, const char *formatString, const char *strng) {
- SmushFont *sf = _player->_sf[0];
+ SmushFont *sf = _player->getFont(0);
int color = 1;
int32 top = 0;
char *str = NULL, *string;
@@ -1272,7 +1272,7 @@ void Insane::smlayer_showStatusMsg(int32 arg_0, byte *renderBitmap, int32 codecp
{
int id = str[3] - '0';
str += 4;
- sf = _player->_sf[id];
+ sf = _player->getFont(id);
}
break;
case 'c':