Mercurial > might-and-magic-trilogy
diff Render.cpp @ 96:51a5b0dc3f30
3.11.12
author | Ritor1 |
---|---|
date | Sat, 03 Nov 2012 19:58:37 +0600 |
parents | a84fb3752681 |
children | 05b2d9653abc |
line wrap: on
line diff
--- a/Render.cpp Fri Nov 02 00:44:18 2012 +0600 +++ b/Render.cpp Sat Nov 03 19:58:37 2012 +0600 @@ -3848,7 +3848,7 @@ if (FAILED(pHost->SetCooperativeLevel(hWnd, DDSCL_MULTITHREADED | DDSCL_NORMAL))) { v23 = "Init - Failed to set cooperative level.\n"; - sprintfex(pErrorMessage, v23); + sprintf(pErrorMessage, v23); LABEL_65: if (pHost) { @@ -3951,7 +3951,7 @@ } LABEL_36: v23 = "Init - Failed to create front buffer.\n"; - sprintfex(pErrorMessage, v23); + sprintf(pErrorMessage, v23); goto LABEL_65; } if ( uDeviceID == 1 ) @@ -3961,13 +3961,13 @@ if (pHost->SetCooperativeLevel(hWnd, v26) ) { v23 = "Init - Failed to set cooperative level.\n"; - sprintfex(pErrorMessage, v23); + sprintf(pErrorMessage, v23); goto LABEL_65; } if (pHost->SetDisplayMode(640u, 480u, 16u, 0, 0) ) { v23 = "Init - Failed to set display mode.\n"; - sprintfex(pErrorMessage, v23); + sprintf(pErrorMessage, v23); goto LABEL_65; } @@ -4759,7 +4759,7 @@ v2 = 0; if ( !this->pRenderD3D || this->field_40110 ) { - sprintfex(Filename, "screen%0.2i.pcx", dword_4EFA80++ % 100); + sprintf(Filename, "screen%0.2i.pcx", dword_4EFA80++ % 100); File = fopen(Filename, "wb"); if ( File ) {