TEENAGENT: Replace two missed inventory item ids with symbols.

This commit is contained in:
D G Turner 2012-08-01 07:00:29 +01:00
parent 92aa3123cb
commit e11e72d5a7

View File

@ -100,8 +100,8 @@ bool TeenAgentEngine::trySelectedObject() {
debugC(0, kDebugObject, "checking active object %u on %u", inv->id, _dstObject->id);
//mouse time challenge hack:
if ((res->dseg.get_byte(0x0000) == 1 && inv->id == 49 && _dstObject->id == 5) ||
(res->dseg.get_byte(0x0000) == 2 && inv->id == 29 && _dstObject->id == 5)) {
if ((res->dseg.get_byte(0x0000) == 1 && inv->id == invItemRock && _dstObject->id == 5) ||
(res->dseg.get_byte(0x0000) == 2 && inv->id == invItemSuperGlue && _dstObject->id == 5)) {
//putting rock into hole or superglue on rock
fnPutRockInHole();
return true;