home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
639a121
)
Server: Remove uncommented lines.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 14 May 2014 01:19:54 +0000
(
03:19
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 14 May 2014 01:19:54 +0000
(
03:19
+0200)
src/server/field_of_view.c
patch
|
blob
|
history
diff --git
a/src/server/field_of_view.c
b/src/server/field_of_view.c
index c92c11a86ec637b0248ebbaf5b1ad68e354fea9e..afb25f543f52f64c4a1dffb8585d53c39c089285 100644
(file)
--- a/
src/server/field_of_view.c
+++ b/
src/server/field_of_view.c
@@
-23,9
+23,6
@@
enum wraps
WRAP_W = 0x08
};
-/* Transform "yx" to an index position in the world map. */
-//static uint16_t yx_to_pos(struct yx_uint8 * yx);
-
/* Move "yx" into hex direction "d". If this moves "yx" beyond the minimal (0)
* or maximal (UINT8_MAX) column or row, it wraps to the opposite side. Such
* wrapping is returned as a wraps enum value and stored, so that further calls