diff options
author | Andre Heider | 2009-09-20 11:31:11 +0000 |
---|---|---|
committer | Andre Heider | 2009-09-20 11:31:11 +0000 |
commit | 44ce4edeaa4457bf9057ed4776c00997b914e624 (patch) | |
tree | 6bed8d428ef1f07abdff01ca96daf65abae7687f /engines/teenagent | |
parent | 3224a8d3c8decc7027f461ad4235998ea0e6ba5d (diff) | |
download | scummvm-rg350-44ce4edeaa4457bf9057ed4776c00997b914e624.tar.gz scummvm-rg350-44ce4edeaa4457bf9057ed4776c00997b914e624.tar.bz2 scummvm-rg350-44ce4edeaa4457bf9057ed4776c00997b914e624.zip |
Fixed endian bug when using inventory items on objects.
svn-id: r44201
Diffstat (limited to 'engines/teenagent')
-rw-r--r-- | engines/teenagent/teenagent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/teenagent.cpp b/engines/teenagent/teenagent.cpp index 43cd232b66..c6a2fdf123 100644 --- a/engines/teenagent/teenagent.cpp +++ b/engines/teenagent/teenagent.cpp @@ -68,7 +68,7 @@ void TeenAgentEngine::processObject() { debug(0, "combine! %u,%u", obj->x, obj->y); //moveTo(Common::Point(obj->x, obj->y), NULL, Examine); inventory->resetSelectedObject(); - if (!processCallback(obj->callback)) + if (!processCallback(TO_LE_16(obj->callback))) debug(0, "fixme! display proper description"); return; } |