This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
9 lines
253 B
C++
9 lines
253 B
C++
#include "stdafx.h"
|
|
#include "Enemy.h"
|
|
|
|
EntitySelector *Enemy::ENEMY_SELECTOR = new Enemy::EnemyEntitySelector();
|
|
|
|
bool Enemy::EnemyEntitySelector::matches(shared_ptr<Entity> entity) const
|
|
{
|
|
return (entity != NULL) && entity->instanceof(eTYPE_ENEMY);
|
|
} |