Single player can have a name (From Russell Smith).
This commit is contained in:
parent
00c79730ac
commit
89461864ae
1 changed files with 4 additions and 0 deletions
|
@ -298,6 +298,10 @@ global void CreateGame(char* filename, WorldMap* map)
|
|||
if( NetworkFildes!=-1 ) { // Prepare network play
|
||||
DebugLevel0Fn("Client setup: Calling InitNetwork2\n");
|
||||
InitNetwork2();
|
||||
} else {
|
||||
if (NetworkName && strcmp(NetworkName,"Anonymous")) {
|
||||
ThisPlayer->Name = strdup(NetworkName);
|
||||
}
|
||||
}
|
||||
|
||||
if( GameIntro.Title ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue