Fixed bad logic.
This commit is contained in:
parent
bda9b3e342
commit
c9880b9cb5
@ -71,7 +71,7 @@ public:
|
||||
|
||||
// There are 16 meta values which correspond to different directions.
|
||||
// These values are equated to angles on a circle; 0x08 = 180 degrees.
|
||||
return (a_Meta > 0x08) ? (0x08 - a_Meta) : (0x18 - a_Meta);
|
||||
return (a_Meta < 0x08) ? (0x08 - a_Meta) : (0x18 - a_Meta);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user