Fixed bug when restarting scenario in campaign mode
This commit is contained in:
parent
398db34544
commit
69cf01428e
1 changed files with 4 additions and 0 deletions
|
@ -168,6 +168,10 @@ global void CreateGame(char* filename, WorldMap* map)
|
|||
// FIXME: LibraryFile here?
|
||||
if (filename[0] != '/' && filename[0] != '.') {
|
||||
s = filename = strdcat3(FreeCraftLibPath, "/", filename);
|
||||
strcpy(CurrentMapPath, strchr(filename,'/')+1);
|
||||
}
|
||||
else {
|
||||
strcpy(CurrentMapPath, filename);
|
||||
}
|
||||
//
|
||||
// Load the map.
|
||||
|
|
Loading…
Add table
Reference in a new issue