X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fengineer%2Fengineer.cpp;h=777758700a4a857bf81df07c42d4a8cb7975ae50;hb=09843b65a4a8aa1e7f53bd3d2ec1e431d29bf513;hp=11729be5b9a6f1754c0036704258f893cea6c4ff;hpb=6dc18b0e518407bd2a86602bae1e9bbae05da7c8;p=r2c2.git diff --git a/source/engineer/engineer.cpp b/source/engineer/engineer.cpp index 11729be..7777587 100644 --- a/source/engineer/engineer.cpp +++ b/source/engineer/engineer.cpp @@ -268,7 +268,7 @@ void Engineer::tick() GL::PushMatrix _push; const Point &tp = (*i)->get_position(); - GL::translate(tp.x, tp.y, 0.02); + GL::translate(tp.x, tp.y, tp.z+0.02); GL::Immediate imm((GL::COLOR4_UBYTE, GL::VERTEX2)); imm.color(0.8f, 0.8f, 1.0f); imm.begin(GL::TRIANGLE_FAN);