14.06.2009, 12:13
You're saving the co-ordinates as Integers (1,2,3) not floats (123.123, 345.345 etc).
When you save a float as an integer it comes up with a number like yours.
I presume you're using an enum somewhere.
Change this:
playerx,
playery,
playerz,
to
Floatlayerx,
Floatlayery,
Floatlayerz,
When you save a float as an integer it comes up with a number like yours.
I presume you're using an enum somewhere.
Change this:
playerx,
playery,
playerz,
to
Floatlayerx,
Floatlayery,
Floatlayerz,