changeset 6323 | c1aa6a3c84a7 |
parent 6322 | b310f0bc8dde |
child 6394 | f0a9042e7387 |
--- a/hedgewars/uRender.pas Thu Nov 10 21:11:57 2011 -0500 +++ b/hedgewars/uRender.pas Fri Nov 11 14:05:39 2011 -0500 @@ -147,11 +147,9 @@ glPushMatrix; glTranslatef(X, Y, 0); +if Dir = 0 then Dir:= 1; -if Dir < 0 then - glRotatef(Angle, 0, 0, -1) -else - glRotatef(Angle, 0, 0, 1); +glRotatef(Angle, 0, 0, Dir); glTranslatef(Dir*OffsetX, OffsetY, 0); glScalef(Scale, Scale, 1);