View Single Post
  #1  
Old 07-13-2012, 02:24 AM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

[Sidenote: Trevius]

This is speculation, especially since it is so deep in the kernel, but that issue with Inventory::SwapItem may also be playing a part in this.


Inv:SI is coded to return a true or false in the case of a success or failure.

However, the few instances that I've seen in <inventory.cpp> all call it blind...

Even if the memory pointer swap fails, the calling method doesn't have code to process a failed swap, so it just assumes it was successful.
(Added to list...)


I could be WAY off on this, but it's another possible area to consider.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote