|
From: Crossfire C. r. messages.
<cro...@li...> - 2009-10-29 20:01:58
|
Revision: 12236
http://crossfire.svn.sourceforge.net/crossfire/?rev=12236&view=rev
Author: akirschbaum
Date: 2009-10-29 20:01:47 +0000 (Thu, 29 Oct 2009)
Log Message:
-----------
Omit objects below the floor from the ground view.
Modified Paths:
--------------
server/trunk/ChangeLog
server/trunk/socket/item.c
Modified: server/trunk/ChangeLog
===================================================================
--- server/trunk/ChangeLog 2009-10-29 17:31:37 UTC (rev 12235)
+++ server/trunk/ChangeLog 2009-10-29 20:01:47 UTC (rev 12236)
@@ -14,6 +14,9 @@
else. With this, include the file(s) that you changed.
------------------------------------------------------------------------------
+Omit objects below the floor from the ground view.
+Andreas Kirschbaum 2009-10-29
+
Fix exit location for the goto command in server/c_wiz.c (was broken when exit
coordinates recently changed so that (-1,-1) meant default coordinates).
Arvid Norlander 2009-10-29
Modified: server/trunk/socket/item.c
===================================================================
--- server/trunk/socket/item.c 2009-10-29 17:31:37 UTC (rev 12235)
+++ server/trunk/socket/item.c 2009-10-29 20:01:47 UTC (rev 12236)
@@ -251,6 +251,10 @@
FOR_OB_AND_BELOW_PREPARE(tmp) {
object *head;
+ if (tmp == last) {
+ break;
+ }
+
if (QUERY_FLAG(tmp, FLAG_IS_FLOOR) && !last) {
last = tmp->below; /* assumes double floor mode */
if (last && QUERY_FLAG(last, FLAG_IS_FLOOR))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|