aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoost Peters2009-02-04 22:05:57 +0000
committerJoost Peters2009-02-04 22:05:57 +0000
commit627241de8582e48c95da75b982a59a1773401ad5 (patch)
tree91e2fc79d53aac98ad76272fe6863d6610f7f8db
parentfdce2ea425962e38605a2cd652f0640b89f6df91 (diff)
downloadscummvm-rg350-627241de8582e48c95da75b982a59a1773401ad5.tar.gz
scummvm-rg350-627241de8582e48c95da75b982a59a1773401ad5.tar.bz2
scummvm-rg350-627241de8582e48c95da75b982a59a1773401ad5.zip
correct endianness in SetActorRGB()
svn-id: r36220
-rw-r--r--engines/tinsel/actors.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tinsel/actors.cpp b/engines/tinsel/actors.cpp
index 6020fa7d24..2eda96db95 100644
--- a/engines/tinsel/actors.cpp
+++ b/engines/tinsel/actors.cpp
@@ -1296,9 +1296,9 @@ void SetActorRGB(int ano, COLORREF colour) {
assert(ano >= 0 && ano <= NumActors);
if (ano)
- actorInfo[ano - 1].textColour = colour;
+ actorInfo[ano - 1].textColour = TO_LE_32(colour);
else
- defaultColour = colour;
+ defaultColour = TO_LE_32(colour);
}
/**