From 800987ab95c4faa5532d735a85516fd09f5de724 Mon Sep 17 00:00:00 2001 From: yinsimei Date: Tue, 11 Jul 2017 14:57:31 +0200 Subject: SLUDGE: replace char *by Common::String --- engines/sludge/people.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sludge/people.cpp') diff --git a/engines/sludge/people.cpp b/engines/sludge/people.cpp index 94663eedf3..9453b21faf 100644 --- a/engines/sludge/people.cpp +++ b/engines/sludge/people.cpp @@ -480,7 +480,7 @@ void drawPeople() { bool r = false; r = scaleSprite(myAnim->theSprites->bank.sprites[fNum], myAnim->theSprites->bank.myPalette, thisPerson, m); if (r) { - if (thisPerson->thisType->screenName[0]) { + if (!thisPerson->thisType->screenName.empty()) { if (personRegion.thisType != thisPerson->thisType) lastRegion = NULL; personRegion.thisType = thisPerson->thisType; -- cgit v1.2.3