mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-25 08:34:52 -04:00
compile and run in windows (improvements needed)
This commit is contained in:
parent
f55f92a88b
commit
f70b29abab
83 changed files with 415 additions and 3747 deletions
|
@ -940,7 +940,7 @@ LRESULT WINAPI BrowserDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
if (sel!=-1) mode=ComboBox_GetItemData(list,sel);
|
||||
if (mode==0)
|
||||
{
|
||||
if (strlen(name)<5 || stricmp(name+strlen(name)-4,".map")!=0) strcat(name,".map");
|
||||
if (strlen(name)<5 || istrcmp(name+strlen(name)-4,".map")!=0) strcat(name,".map");
|
||||
if (strlen(name)>12)
|
||||
{
|
||||
MessageBox(hDlg,"Jmeno mapy je prilis dlouhe (max 8 znaku bez pripony nebo 12 znaku s priponou)",0,MB_OK|MB_ICONEXCLAMATION);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue