- [FIX] Els arounders mai agafaven la corda
This commit is contained in:
@@ -327,7 +327,7 @@ namespace arounders
|
|||||||
void initPujarCorda(arounder *a)
|
void initPujarCorda(arounder *a)
|
||||||
{
|
{
|
||||||
a->frame = 0;
|
a->frame = 0;
|
||||||
a->prevista = arounders::accions::pujarcorda;
|
a->accio = arounders::accions::pujarcorda;
|
||||||
a->x = a->orientacio == arounders::orientacions::dreta ? a->x + 3 : a->x - 3;
|
a->x = a->orientacio == arounders::orientacions::dreta ? a->x + 3 : a->x - 3;
|
||||||
procesarPujarCorda(a);
|
procesarPujarCorda(a);
|
||||||
}
|
}
|
||||||
@@ -335,7 +335,7 @@ namespace arounders
|
|||||||
void initBaixarCorda(arounder *a)
|
void initBaixarCorda(arounder *a)
|
||||||
{
|
{
|
||||||
a->frame = 0;
|
a->frame = 0;
|
||||||
a->prevista = arounders::accions::baixarcorda;
|
a->accio = arounders::accions::baixarcorda;
|
||||||
if (a->orientacio == arounders::orientacions::dreta) {
|
if (a->orientacio == arounders::orientacions::dreta) {
|
||||||
a->x += 2;
|
a->x += 2;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user