scummvm/scummvm — comment on commit f0eee81d327957cddb85c5a1ffe7a308a377f636
File: engines/dreamweb/object.cpp line 573
By wjp:

Why are you using ax/es/bx here, instead of the return value of findInvPosCPP for bx, getSegment(data.word(kBuffers)) for es, and a regular local for ax, given that its value is only used for the al != 255 check directly below? (swapWithInv doesn't use ax as input.) Same question for the other usage of ax further down, and also for outOfInv.