fix remote players ghosting
[carveJwlIkooP6JGAAIwe30JlM.git] / world_gate.c
index bb62e341aab99085071a9edc55d08ba6da73fc57..4c76b07abda774d515ac8f47c74a7bb1b325e91d 100644 (file)
@@ -181,6 +181,7 @@ static int render_gate( world_instance *world, world_instance *world_inside,
    }
 
    render_world( world_inside, &world_gates.cam, layer_depth );
+   render_remote_players( world_inside, &world_gates.cam );
 
    {
       glDisable( GL_STENCIL_TEST );
@@ -197,7 +198,6 @@ static int render_gate( world_instance *world, world_instance *world_inside,
       glDisable( GL_STENCIL_TEST );
    }
 
-   render_remote_players( world_inside, &world_gates.cam );
    return 1;
 }