Comment 6 for bug 730283

Revision history for this message
cybermind (iddqd-mail) wrote : Re: Assertion and fatal IO error

the reason of this bug:
in 7872 revision was deleted this piece of code in actions.cpp:
520 DropResource(unit);
and now when 2 workers enter the mine which have resources only for 1 worker, the game crashes
DropResource(unit) clears any information about resources from unit, also it deassigns it from mine which it was assigned before
so it's need to find a better way to drop worker's resources
maybe the crash happens because of going out of array bounds