forked from Mirrors/openclonk
crlf...
parent
fa700f475f
commit
4776c4a949
|
@ -4429,10 +4429,10 @@ void C4Object::GetParallaxity(int32_t *parX, int32_t *parY)
|
|||
{
|
||||
assert(parX); assert(parY);
|
||||
*parX = 100; *parY = 100;
|
||||
if (Category & C4D_Foreground)
|
||||
{
|
||||
*parX = 0; *parY = 0;
|
||||
return;
|
||||
if (Category & C4D_Foreground)
|
||||
{
|
||||
*parX = 0; *parY = 0;
|
||||
return;
|
||||
}
|
||||
if (!(Category & C4D_Parallax)) return;
|
||||
C4Value parV; GetProperty(P_Parallaxity, &parV);
|
||||
|
|
Loading…
Reference in New Issue