diff options
| author | Alexander Gavrilov | 2012-03-17 17:41:56 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-03-17 17:41:56 +0400 |
| commit | 368b92f81f5257eaf5bf4f11f41507a52f3d29c1 (patch) | |
| tree | c07c9a0688242697fb015281d2e04a25df7e22eb /library/RemoteServer.cpp | |
| parent | 15ccfbb08693a3c89c01a522cd3d2af59c13b051 (diff) | |
| download | dfhack-368b92f81f5257eaf5bf4f11f41507a52f3d29c1.tar.gz dfhack-368b92f81f5257eaf5bf4f11f41507a52f3d29c1.tar.bz2 dfhack-368b92f81f5257eaf5bf4f11f41507a52f3d29c1.tar.xz | |
Add a RPC call to retrieve unit info.
For performance reasons, material flag arrays are changed to use ints,
with enum item name mappings retrievable via a different RPC call.
Diffstat (limited to 'library/RemoteServer.cpp')
| -rw-r--r-- | library/RemoteServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/RemoteServer.cpp b/library/RemoteServer.cpp index bae62bb7..8c486aff 100644 --- a/library/RemoteServer.cpp +++ b/library/RemoteServer.cpp @@ -331,7 +331,7 @@ void ServerConnection::threadFn(void *arg) // Cleanup if (fn) { - fn->reset(out_size > 32768 || in_size > 32768); + fn->reset(out_size > 128*1024 || in_size > 32*1024); } } |
