Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/gemrb/includes/voodooconst.h b/gemrb/includes/voodooconst.h
- index a5f998d..9129f97 100644
- --- a/gemrb/includes/voodooconst.h
- +++ b/gemrb/includes/voodooconst.h
- @@ -53,8 +53,7 @@ static const int VOODOO_FINDTRAP_RANGE = 10;
- // test cases: tob pp summoning spirit, pst portals, pst AR0405, AR0508, ar0500 (guards through gates)
- // it's about 3 times bigger in pst, perhaps related to the bigger sprite sizes and we modify it in Scriptable
- // The distance of operating a trigger, container, dialog buffer etc.
- -static unsigned int MAX_OPERATING_DISTANCE = 40; //a search square is 16x12 (diagonal of 20), so that's about two
- -static const unsigned int ___MOD = MAX_OPERATING_DISTANCE; // just to silence var-unused errors
- +static unsigned int MAX_OPERATING_DISTANCE __attribute__((unused)) = 40; //a search square is 16x12 (diagonal of 20), so that's about two
- // used for the shout action, supposedly "slightly larger than the default visual radius of NPCs"
- // while it looks too big, it is needed this big in at least pst (help())
Add Comment
Please, Sign In to add comment