|
@@ -29,6 +29,7 @@
|
|
#include "app/mainLoop.h"
|
|
#include "app/mainLoop.h"
|
|
#include "platform/input/event.h"
|
|
#include "platform/input/event.h"
|
|
#include "platform/typetraits.h"
|
|
#include "platform/typetraits.h"
|
|
|
|
+#include "core/volume.h"
|
|
|
|
|
|
|
|
|
|
const F32 TypeTraits< F32 >::MIN = - F32_MAX;
|
|
const F32 TypeTraits< F32 >::MIN = - F32_MAX;
|
|
@@ -132,8 +133,10 @@ const bool Platform::KeyboardInputExclusion::checkAgainstInput( const InputEvent
|
|
S32 Platform::compareModifiedTimes( const char *firstPath, const char *secondPath )
|
|
S32 Platform::compareModifiedTimes( const char *firstPath, const char *secondPath )
|
|
{
|
|
{
|
|
FileTime firstModTime;
|
|
FileTime firstModTime;
|
|
- if ( !getFileTimes( firstPath, NULL, &firstModTime ) )
|
|
|
|
- return -1;
|
|
|
|
|
|
+ if ( !getFileTimes( firstPath, NULL, &firstModTime ) ) {
|
|
|
|
+ //The reason we failed to get file times could be cause it is in a zip. Lets check.
|
|
|
|
+ return Torque::FS::CompareModifiedTimes(firstPath, secondPath);
|
|
|
|
+ }
|
|
|
|
|
|
FileTime secondModTime;
|
|
FileTime secondModTime;
|
|
if ( !getFileTimes( secondPath, NULL, &secondModTime ) )
|
|
if ( !getFileTimes( secondPath, NULL, &secondModTime ) )
|