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: In mv_yx_in_dir_wrap(), test for excess wrapping.
[plomrogue]
/
src
/
server
/
run.c
diff --git
a/src/server/run.c
b/src/server/run.c
index 786b280adb050a64b47edc19e1cecdad46ad55bb..301a0bae48987c375851a5133aacf35aa0a05557 100644
(file)
--- a/
src/server/run.c
+++ b/
src/server/run.c
@@
-75,8
+75,7
@@
static uint8_t player_commands_allowed()
{
if (!world.exists)
{
- err_line(1, "No world exists in which to run player commands.");
- return 0;
+ return !err_line(1, "No world exists in which to run player commands.");
}
return 1;
}