That is strange. vs.net happily compiles that bit of code. It's not a case of being #ifdef'd out, either.
The code you put in is correct, and has been checked into our internal source code repository. Thanks for catching that.
There are some other bits of code around this bit that will need changing as well - but I can't change it at the moment because I can't test it:
Item ID is now a uint32, and an int16 runs the risk of overflow these days. Even a uint16 won't cut it. If you catch any spots in code using int16 for item id, please let us know!
|