]> git.tdb.fi Git - r2c2.git/commitdiff
Fix the arrow while picking a position for a train
authorMikko Rasa <tdb@tdb.fi>
Sat, 26 Jan 2013 20:27:57 +0000 (22:27 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 26 Jan 2013 20:27:57 +0000 (22:27 +0200)
arrow.mesh
source/engineer/engineer.cpp

index e24b5df88d93a914e7b13fab32e9fb77b8d66575..8433feb260a092eb998b1310b86dfcd0f8465462 100644 (file)
@@ -1,4 +1,4 @@
-vertices COLOR4UB VERTEX2
+vertices COLOR4_UBYTE VERTEX2
 {
        color4 1.0 1.0 1.0 1.0;
        vertex2 0.08  0.00;
index c396b5ea2491c04c7d1f4489823ce6ef5747fd95..e5381bd090a2f3bbf0e7e1179f4821637401727e 100644 (file)
@@ -224,6 +224,7 @@ void Engineer::tick()
 
        if(picking && picking_track && picking_entry>=0)
        {
+               camera.apply();
                GL::MatrixStack::Push push_mat(GL::MatrixStack::modelview());
 
                float rot = picking_track->get_endpoint_direction(picking_entry);