projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08139f3
)
fixed port setting not being loaded from configuration file for client
author
Perttu Ahola
<celeron55@gmail.com>
Tue, 12 Apr 2011 14:42:17 +0000
(17:42 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Tue, 12 Apr 2011 14:42:17 +0000
(17:42 +0300)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index 28697146fe6a5fc9557208367fb87f08fb11fe97..117670366c0c50feb82640ae7e94e930df65b033 100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-1704,7
+1704,7
@@
int main(int argc, char *argv[])
u16 port = 30000;
\r
if(cmd_args.exists("port"))
\r
port = cmd_args.getU16("port");
\r
- else if(
cmd_ar
gs.exists("port"))
\r
+ else if(
g_settin
gs.exists("port"))
\r
port = g_settings.getU16("port");
\r
\r
// Map directory
\r