mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-08 01:44:08 +00:00
Fix linux warnings
This commit is contained in:
parent
c40fcdf39a
commit
c2ac6b3759
52 changed files with 165 additions and 70 deletions
|
@ -303,7 +303,7 @@ void CSceneEdit::Draw(void)
|
|||
nCommandDrawn -= (MOVIE_TOTAL_COMMANDS - 1);
|
||||
if (nCommandDrawn <= MOVIE_DO_NOTHING)
|
||||
nCommandDrawn += (MOVIE_TOTAL_COMMANDS - 1);
|
||||
sprintf(str, pCommandStrings[nCommandDrawn]);
|
||||
sprintf(str, "%s", pCommandStrings[nCommandDrawn]);
|
||||
AsciiToUnicode(str, wstr);
|
||||
CFont::SetColor(CRGBA(0, 0, 0, 0));
|
||||
CFont::PrintString(SCREEN_SCALE_FROM_RIGHT(COMMAND_NAME_X_RIGHT - SHADOW_OFFSET), SCREEN_SCALE_Y(COMMAND_NAME_Y + SHADOW_OFFSET + i * COMMAND_NAME_HEIGHT), wstr);
|
||||
|
@ -1095,4 +1095,4 @@ bool CSceneEdit::SelectWeapon(void)
|
|||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue