I made a shortcut.
Code:
function unsign_short(x) { return x + 32768; }
function sign_short( short x ) { return x - 32768; }



Here's the problem grin
Manual says:
Quote:

short - 2 bytes - 0 to 65535

And, it also says:
Quote:
Signed or unsigned variables

In lite-C, var, float, double, long and int variables are always signed, and pointers, char and short are always unsigned, according to the normal way they are used. The signed and unsigned variable modifiers are accepted, but have no effect.


Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201