mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
Mac OS X 10.6 & More C++03 Support (#68)
* Mac OS X 10.6 & More C++03 Support * Fix SDL2 options.txt loading for C++03 --------- Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
This commit is contained in:
@@ -617,8 +617,8 @@ void Mob::aiStep()
|
||||
AABB aabb = m_hitbox;
|
||||
aabb.grow(0.2f, 0.2f, 0.2f);
|
||||
|
||||
auto pEnts = m_pLevel->getEntities(this, aabb);
|
||||
for (auto it = pEnts->begin(); it != pEnts->end(); it++)
|
||||
EntityVector* pEnts = m_pLevel->getEntities(this, aabb);
|
||||
for (EntityVector::iterator it = pEnts->begin(); it != pEnts->end(); it++)
|
||||
{
|
||||
Entity* pEnt = *it;
|
||||
if (pEnt->isPushable())
|
||||
|
||||
Reference in New Issue
Block a user