aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/resman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword1/resman.cpp')
-rw-r--r--engines/sword1/resman.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword1/resman.cpp b/engines/sword1/resman.cpp
index 0ed9b833f1..5f1c23d482 100644
--- a/engines/sword1/resman.cpp
+++ b/engines/sword1/resman.cpp
@@ -23,7 +23,7 @@
*
*/
-#include "common/stdafx.h"
+
#include "common/config-manager.h"
#include "common/util.h"
#include "common/str.h"
@@ -421,7 +421,7 @@ void ResMan::openScriptResourceBigEndian(uint32 id) {
needByteSwap = (memHandle->cond == MEM_FREED);
}
resOpen(id);
- if (needByteSwap) {
+ if (needByteSwap) {
MemHandle *handle = resHandle(id);
// uint32 totSize = handle->size;
Header *head = (Header*)handle->data;
@@ -450,7 +450,7 @@ void ResMan::openScriptResourceLittleEndian(uint32 id) {
needByteSwap = (memHandle->cond == MEM_FREED);
}
resOpen(id);
- if (needByteSwap) {
+ if (needByteSwap) {
MemHandle *handle = resHandle(id);
// uint32 totSize = handle->size;
Header *head = (Header*)handle->data;