|
From: <gi...@cr...> - 2013-07-27 20:05:23
|
via c2388105426bc7277bca52ef1fd236317f93eec8 (commit)
from 1f6edf497f9d54c572d2a781d595b9da917102f0 (commit)
-----------------------------------------------------------------------
commit c2388105426bc7277bca52ef1fd236317f93eec8
Author: Florian Diebold <flo...@gm...>
Date: Sat Jul 27 22:02:52 2013 +0200
Fix the Webtiles monster list (#7332).
last_client_id is a static variable (used to determine the next client
id to assign), it shouldn't be reset for every monster.
-----------------------------------------------------------------------
Summary of changes:
crawl-ref/source/monster.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc
index cf7bc17..393d50e 100644
--- a/crawl-ref/source/monster.cc
+++ b/crawl-ref/source/monster.cc
@@ -147,7 +147,7 @@ void monster::reset()
// no actual in-game monster should be reset while still constricting
ASSERT(!constricting);
- client_id = last_client_id = 0;
+ client_id = 0;
// Just for completeness.
speed = 0;
--
Dungeon Crawl Stone Soup
|