summaryrefslogtreecommitdiff
path: root/src/mmo
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-07-15 21:22:19 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-07-16 13:47:36 -0700
commitc999af595f4a8f7d30b6d7c822e2a1caf3298389 (patch)
tree27c22a95ff9342bbdc1e94fb4806279f61f058af /src/mmo
parent17605f7782ac9a73a3dacf6ce27e5dae36160f01 (diff)
downloadtmwa-c999af595f4a8f7d30b6d7c822e2a1caf3298389.tar.gz
tmwa-c999af595f4a8f7d30b6d7c822e2a1caf3298389.tar.bz2
tmwa-c999af595f4a8f7d30b6d7c822e2a1caf3298389.tar.xz
tmwa-c999af595f4a8f7d30b6d7c822e2a1caf3298389.zip
Revert bounds checks and go back to signed integers
Diffstat (limited to 'src/mmo')
-rw-r--r--src/mmo/extract.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mmo/extract.cpp b/src/mmo/extract.cpp
index 7a00c71..d486ed5 100644
--- a/src/mmo/extract.cpp
+++ b/src/mmo/extract.cpp
@@ -45,13 +45,6 @@ bool extract(XString str, AString *rv)
bool extract(XString str, GlobalReg *var)
{
- // vars used to be stored signed
- int compat_value;
- if (extract(str, record<','>(&var->str, &compat_value)))
- {
- var->value = compat_value;
- return true;
- }
return extract(str,
record<','>(&var->str, &var->value));
}