mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
NKAI: namespace
This commit is contained in:
@@ -15,6 +15,9 @@
|
||||
#include "../Behaviors/CaptureObjectsBehavior.h"
|
||||
|
||||
|
||||
namespace NKAI
|
||||
{
|
||||
|
||||
extern boost::thread_specific_ptr<CCallback> cb;
|
||||
|
||||
using namespace Goals;
|
||||
@@ -37,4 +40,6 @@ std::string CaptureObject::toString() const
|
||||
TGoalVec CaptureObject::decompose() const
|
||||
{
|
||||
return CaptureObjectsBehavior(cb->getObj(ObjectInstanceID(objid))).decompose();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user