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