More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future.
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times.
This commit is contained in:
@@ -53,4 +53,4 @@ void cBlaze::Attack(float a_Dt)
|
||||
m_AttackInterval = 0.0;
|
||||
// ToDo: Shoot 3 fireballs instead of 1.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,3 @@ public:
|
||||
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
|
||||
virtual void Attack(float a_Dt) override;
|
||||
} ;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -88,4 +88,4 @@ void cSkeleton::Attack(float a_Dt)
|
||||
m_World->BroadcastSpawnEntity(*Arrow);
|
||||
m_AttackInterval = 0.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user