home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add to TODO.
[plomrogue]
/
src
/
server
/
yx_uint8.c
diff --git
a/src/server/yx_uint8.c
b/src/server/yx_uint8.c
index 8d47c82e505d85ec275bfaf98b1bf3dfc2a4e760..626f9b4c6672044b6214bd8d2822c2a4bcd07bd6 100644
(file)
--- a/
src/server/yx_uint8.c
+++ b/
src/server/yx_uint8.c
@@
-19,7
+19,7
@@
extern uint8_t yx_uint8_cmp(struct yx_uint8 * a, struct yx_uint8 * b)
extern struct yx_uint8 mv_yx_in_dir(char d, struct yx_uint8 yx)
{
- if
(d == 'e' && yx.y > 0
&& (yx.x < UINT8_MAX || !(yx.y % 2)))
+ if
(d == 'e' && yx.y > 0
&& (yx.x < UINT8_MAX || !(yx.y % 2)))
{
yx.x = yx.x + (yx.y % 2);
yx.y--;