Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
MeuhV1 committed Nov 10, 2015
1 parent 43153db commit 75980ed
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion CvGameCoreDLL/CvDLLWidgetData.cpp
Expand Up @@ -3992,8 +3992,20 @@ void CvDLLWidgetData::parseFlagHelp(CvWidgetDataStruct &widgetDataStruct, CvWStr
//Rhye - stop
szBuffer.append(szTempBuffer);
szBuffer.append(NEWLINE);

swprintf(szTempString, L"%s" NEWLINE, GC.getLeaderHeadInfo(GET_PLAYER(GC.getGameINLINE().getActivePlayer()).getLeaderType()).getDescription());
szBuffer.append(szTempString);

// Unique powers
szText = gDLL->getText(uniquePower[GET_PLAYER(GC.getGameINLINE().getActivePlayer())][0]);
swprintf(szTempString, L"%s" NEWLINE, szText.GetCString());
szBuffer.append(szTempString);

szText = gDLL->getText(uniquePower[GET_PLAYER(GC.getGameINLINE().getActivePlayer())][1]);
swprintf(szTempString, L"%s" NEWLINE, szText.GetCString());
szBuffer.append(szTempString);

GAMETEXT.parseLeaderTraits(szBuffer, GET_PLAYER(GC.getGameINLINE().getActivePlayer()).getLeaderType(), GET_PLAYER(GC.getGameINLINE().getActivePlayer()).getCivilizationType());
//GAMETEXT.parseLeaderTraits(szBuffer, GET_PLAYER(GC.getGameINLINE().getActivePlayer()).getLeaderType(), GET_PLAYER(GC.getGameINLINE().getActivePlayer()).getCivilizationType());
}


Expand Down

0 comments on commit 75980ed

Please sign in to comment.