fix remote players ghosting
authorhgn <hgodden00@gmail.com>
Sat, 4 Nov 2023 15:08:30 +0000 (15:08 +0000)
committerhgn <hgodden00@gmail.com>
Sat, 4 Nov 2023 15:08:30 +0000 (15:08 +0000)
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;
 }