summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/message.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-12-07 08:28:09 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-12-08 18:55:48 +0100
commitb3c13e2a47ae442a567e740462508e6d8c1dfc25 (patch)
tree5d0cdebf054bd374d15873ea23677082fcde24de /crawl-ref/source/message.cc
parent70e25bb2b160252713384b64fc6f30f6cac2762a (diff)
downloadcrawl-ref-b3c13e2a47ae442a567e740462508e6d8c1dfc25.tar.gz
crawl-ref-b3c13e2a47ae442a567e740462508e6d8c1dfc25.zip
Brace and std:: removal.
Diffstat (limited to 'crawl-ref/source/message.cc')
-rw-r--r--crawl-ref/source/message.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/message.cc b/crawl-ref/source/message.cc
index 3d832e8b2b..9e2f5296a9 100644
--- a/crawl-ref/source/message.cc
+++ b/crawl-ref/source/message.cc
@@ -664,7 +664,7 @@ public:
void roll_back()
{
- client_rollback = std::max(0, temp - unsent);
+ client_rollback = max(0, temp - unsent);
msgs.roll_back(temp);
temp = 0;
}
@@ -730,9 +730,7 @@ public:
client_rollback = 0;
}
if (old_msgs > 0)
- {
tiles.json_write_int("old_msgs", old_msgs);
- }
tiles.json_open_array("messages");
for (int i = -unsent; i < 0; ++i)
{