diff options
author | Max Horn | 2003-05-04 18:28:32 +0000 |
---|---|---|
committer | Max Horn | 2003-05-04 18:28:32 +0000 |
commit | 93264aea7867428f2df712efd4b46ddf0aae25e0 (patch) | |
tree | 7da234514f3b76f029148b7571fcf023d3369756 /scumm/script_v6.cpp | |
parent | 7d78ba39fbc133631258ffa489b81524defe6af0 (diff) | |
download | scummvm-rg350-93264aea7867428f2df712efd4b46ddf0aae25e0.tar.gz scummvm-rg350-93264aea7867428f2df712efd4b46ddf0aae25e0.tar.bz2 scummvm-rg350-93264aea7867428f2df712efd4b46ddf0aae25e0.zip |
oops, forget to remove hack I used to test this ;-)
svn-id: r7325
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index f312c25492..a42397d740 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -423,14 +423,14 @@ void Scumm::writeArray(int array, int idx, int base, int value) { if (ah->type == 4) { ah->data[base] = value; } else if (_features & GF_AFTER_V8) { -#if 1 || defined(SCUMM_NEED_ALIGNMENT) +#if defined(SCUMM_NEED_ALIGNMENT) uint32 tmp = TO_LE_32(value); memcpy(&ah->data[base*4], &tmp, 4); #else ((uint32 *)ah->data)[base] = TO_LE_32(value); #endif } else { -#if 1 || defined(SCUMM_NEED_ALIGNMENT) +#if defined(SCUMM_NEED_ALIGNMENT) uint16 tmp = TO_LE_16(value); memcpy(&ah->data[base*2], &tmp, 2); #else |