mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-11 19:04:05 +02:00
Fix PIPE being reversed
This commit is contained in:
@@ -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