From f9323fe9fae6a45c0a4359775ba0383924a75c47 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 22 Aug 2016 07:52:57 +0200 Subject: DM: Get rid of some globals in inventory --- engines/dm/dm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/dm/dm.cpp') diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp index ac85b9d0c4..075112b149 100644 --- a/engines/dm/dm.cpp +++ b/engines/dm/dm.cpp @@ -681,7 +681,7 @@ void DMEngine::f444_endGame(bool doNotDrawCreditsOnly) { continue; char displStr[20]; - strcpy(displStr, G0428_apc_SkillLevelNames[skillLevel - 2]); + strcpy(displStr, _inventoryMan->G0428_apc_SkillLevelNames[skillLevel - 2]); strcat(displStr, " "); strcat(displStr, _championMan->_baseSkillName[idx]); _textMan->f443_endgamePrintString(105, textPosY = textPosY + 8, k13_ColorLightestGray, displStr); -- cgit v1.2.3