diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2020-05-12 01:24:57 +0200 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2020-05-12 23:18:54 +0200 |
commit | c2ac6b3759901ecede7b22c1e9ab9f5a04ddd527 (patch) | |
tree | cf51d6ab8430cd186e02f0e8105004f8e5476728 /src/control/SceneEdit.cpp | |
parent | fix shotgun (diff) | |
download | re3-c2ac6b3759901ecede7b22c1e9ab9f5a04ddd527.tar re3-c2ac6b3759901ecede7b22c1e9ab9f5a04ddd527.tar.gz re3-c2ac6b3759901ecede7b22c1e9ab9f5a04ddd527.tar.bz2 re3-c2ac6b3759901ecede7b22c1e9ab9f5a04ddd527.tar.lz re3-c2ac6b3759901ecede7b22c1e9ab9f5a04ddd527.tar.xz re3-c2ac6b3759901ecede7b22c1e9ab9f5a04ddd527.tar.zst re3-c2ac6b3759901ecede7b22c1e9ab9f5a04ddd527.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/SceneEdit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/SceneEdit.cpp b/src/control/SceneEdit.cpp index 6aa64a3c..be8c5519 100644 --- a/src/control/SceneEdit.cpp +++ b/src/control/SceneEdit.cpp @@ -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; -}
\ No newline at end of file +} |