diff options
-rw-r--r-- | engines/sword25/package/packagemanager.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/sword25/package/packagemanager.cpp b/engines/sword25/package/packagemanager.cpp index 18b2453d6d..063844f3ba 100644 --- a/engines/sword25/package/packagemanager.cpp +++ b/engines/sword25/package/packagemanager.cpp @@ -180,9 +180,6 @@ byte *PackageManager::getFile(const Common::String &fileName, uint *fileSizePtr) if (fileSizePtr) *fileSizePtr = in->size(); - if (in->size() > 204800) - warning("UGLY: UGLY: Sucking >200kb file into memory (%d bytes)", in->size()); - // Read the file byte *buffer = new byte[in->size()]; int bytesRead = in->read(buffer, in->size()); |