Fix PIPE being reversed
This commit is contained in:
parent
11d33d5b77
commit
27f5ba199d
@ -75,7 +75,7 @@ Element_PIPE::Element_PIPE()
|
||||
signed char pos_1_rx[] = {-1,-1,-1, 0, 0, 1, 1, 1};
|
||||
signed char pos_1_ry[] = {-1, 0, 1,-1, 1,-1, 0, 1};
|
||||
|
||||
unsigned int nextColor(unsigned int flags)
|
||||
unsigned int prevColor(unsigned int flags)
|
||||
{
|
||||
unsigned int color = flags & PFLAG_COLORS;
|
||||
if (color == PFLAG_COLOR_RED)
|
||||
@ -87,7 +87,7 @@ unsigned int nextColor(unsigned int flags)
|
||||
return PFLAG_COLOR_RED;
|
||||
}
|
||||
|
||||
unsigned int prevColor(unsigned int flags)
|
||||
unsigned int nextColor(unsigned int flags)
|
||||
{
|
||||
unsigned int color = flags & PFLAG_COLORS;
|
||||
if (color == PFLAG_COLOR_RED)
|
||||
|
Reference in New Issue
Block a user