Fixed bug when restarting scenario in campaign mode

This commit is contained in:
jsalmon3 2002-04-06 21:20:31 +00:00
parent 398db34544
commit 69cf01428e

View file

@ -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.