Fix VC2003 compilation (hopefully).

This was SVN commit r4780.
This commit is contained in:
Ykkrosh 2007-01-17 03:41:23 +00:00
parent 6cfb96855a
commit c065b6fc2a

View File

@ -1485,7 +1485,7 @@ JSFunctionSpec ScriptFunctionTable[] =
JSBool GetEntitySet( JSContext* UNUSED(cx), JSObject* UNUSED(obj), jsval UNUSED(argv), jsval* vp )
{
std::auto_ptr<std::vector<HEntity> > extant = g_EntityManager.getExtant();
std::auto_ptr<std::vector<HEntity> > extant (g_EntityManager.getExtant());
*vp = OBJECT_TO_JSVAL( EntityCollection::Create( *extant ) );