Google-Code-Fork / tibiaapi

Automatically exported from code.google.com/p/tibiaapi
MIT License
0 stars 0 forks source link

Bug with floor spy #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
in the floor spy function u had this code to check if we can see the floor
below:

if (floor >= -2 && floor <= 2 && playerZ - floor < 14)

so when u are in floor 13 ,for example,u are not able to see floor below
cos (13 -(-1)=14) but there are 15 levels in tibia so i think it should be:

if (floor >= -2 && floor <= 2 && playerZ - floor < 16)

Original issue reported on code.google.com by marcsal...@gmail.com on 24 Jun 2008 at 3:56

GoogleCodeExporter commented 9 years ago
Thanks for the report, fixed r324, needs verification.

Original comment by ian320 on 27 Jun 2008 at 2:13