This commit is contained in:
InviseDivine
2026-03-29 00:16:19 +02:00
parent 470c28d83a
commit f016f00eab
5 changed files with 24 additions and 15 deletions

View File

@@ -728,8 +728,8 @@ bool Mob::isWaterMob()
void Mob::aiStep()
{
printf("%f %f \n", xxa, yya);
//@todo? 30 lines of code here in java version
TIMER_PUSH("ai");
if (isImmobile()) {
jumping = false;

View File

@@ -223,6 +223,9 @@ protected:
double xc, yc, zc;
public:
void setxxa(float xxa) { this->xxa = xxa; }
void setyya(float yya) { this->yya = yya; }
// Cape position accessors (for renderers)
double getCapeX() const { return xCape; }
double getCapeY() const { return yCape; }