Browse Source

Expose PackageFiles pr fixes

JimMarlowe 9 years ago
parent
commit
233f50a8c1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/Atomic/IO/PackageFile.h

+ 2 - 2
Source/Atomic/IO/PackageFile.h

@@ -87,10 +87,10 @@ public:
 
 
     // ATOMIC BEGIN
     // ATOMIC BEGIN
 
 
-    /// Return a file name in the package, for scripting use ( GetEntryNames is not bindable? )
+    /// Return a file name in the package at the specified index
     const String& GetEntryName(unsigned index) const 
     const String& GetEntryName(unsigned index) const 
     {
     {
-        unsigned nn = 0;  // .Begin() + index syntax not supported on HashMap
+        unsigned nn = 0;
         for (HashMap<String, PackageEntry>::ConstIterator j = entries_.Begin(); j != entries_.End(); ++j)
         for (HashMap<String, PackageEntry>::ConstIterator j = entries_.Begin(); j != entries_.End(); ++j)
         {
         {
             if (nn == index) return j->first_;
             if (nn == index) return j->first_;