changeset 781 | 9717ff353c17 |
parent 738 | 0b2fb79e64fc |
child 873 | 46e892485be3 |
--- a/functions.h Thu Dec 23 14:02:40 2004 +0000 +++ b/functions.h Thu Dec 23 14:46:16 2004 +0000 @@ -38,9 +38,13 @@ static inline Point RemapCoords(int x, int y, int z) { #if !defined(NEW_ROTATION) - Point pt = { (y - x) * 2, y + x - z }; + Point pt; + pt.x = (y - x) * 2; + pt.y = y + x - z; #else - Point pt = { (x + y) * 2, x - y - z }; + Point pt; + pt.x = (x + y) * 2; + pt.y = x - y - z; #endif return pt; }