Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Object of type 'System.SByte' cannot be converted to type 'System.Byte
I have been working on this game project for around 3 months now. It has been going great, except for this one error that doesn't make much sense.
Here is the code: http://pastebin.com/FExjqdKk
The error is on line 655(655 with full code), which contains this:
Where is the byte in this error?
Here is a picture of the full error in my console: http://i.min.us/int7yi.png
If you can give an example of how to fix this error, it would be greatly appreciated.