fixed problem where ThisPlayer would always be Player 0 (from Russell Smith)
This commit is contained in:
parent
c8f2b08943
commit
2e04be70a0
2 changed files with 2 additions and 2 deletions
src
|
@ -1741,6 +1741,8 @@ local void CreateEditor(void)
|
|||
user_gc(SCM_BOOL_F); // Cleanup memory after load
|
||||
}
|
||||
|
||||
ThisPlayer = &Players[0];
|
||||
|
||||
FlagRevealMap = 1; // editor without fog and all visible
|
||||
TheMap.NoFogOfWar = 1;
|
||||
if (!*CurrentMapPath) { // new map!
|
||||
|
|
|
@ -298,8 +298,6 @@ global void CreateGame(char* filename, WorldMap* map)
|
|||
if( NetworkFildes!=-1 ) { // Prepare network play
|
||||
DebugLevel0Fn("Client setup: Calling InitNetwork2\n");
|
||||
InitNetwork2();
|
||||
} else {
|
||||
ThisPlayer = &Players[0];
|
||||
}
|
||||
|
||||
if( GameIntro.Title ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue