home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Server: Fix bugs in map and FOV generation on large maps.
[plomrogue]
/
src
/
server
/
field_of_view.c
diff --git
a/src/server/field_of_view.c
b/src/server/field_of_view.c
index 7436f055854464194cc3fcdd429fb870f0382393..e41d837c196afd45b188dedd7bde9df7c7026755 100644
(file)
--- a/
src/server/field_of_view.c
+++ b/
src/server/field_of_view.c
@@
-13,8
+13,11
@@
-/* Number of degrees a circle is divided into. */
-#define CIRCLE 36000000
+/* Number of degrees a circle is divided into. The greater it is, the greater
+ * the angle precision. But make it one whole zero larger and bizarre FOV bugs
+ * appear on large maps, probably due to value overflows.
+ */
+#define CIRCLE 3600000