Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(238)

Issue 7769: Prospect patch FS#2443 - Wrong Stacking Behavior

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 5 months ago by Lanarel
Modified:
9 years, 4 months ago
Reviewers:
Kayden, kougaro
Base URL:
https://planeshift.svn.sourceforge.net/svnroot/planeshift/trunk/
Visibility:
Public.

Description

Patch by kougaro, fixing strange stacking behaviour with dropped items, by removing a check that appears to be unneeded.

Patch Set 1 #

Patch Set 2 : Prospect patch FS#2443 - Wrong Stacking Behavior , 2nd try for patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
src/server/bulkobjects/psitem.cpp View 1 1 chunk +2 lines, -2 lines 1 comment Download

Messages

Total messages: 9
Lanarel
15 years, 5 months ago (2008-11-10 21:34:42 UTC) #1
Lanarel
Prospect patch FS#2443 - Wrong Stacking Behavior , 2nd try for patch
15 years, 5 months ago (2008-11-10 21:40:27 UTC) #2
Lanarel
http://codereview.appspot.com/7769/diff/202/3 File src/server/bulkobjects/psitem.cpp (right): http://codereview.appspot.com/7769/diff/202/3#newcode1249 Line 1249: // if (GetGuardingCharacterID() != otheritem->GetGuardingCharacterID()) According to Kougaro ...
15 years, 5 months ago (2008-11-10 21:41:59 UTC) #3
Kayden
On 2008/11/10 21:41:59, Lanarel wrote: > Line 1249: // if (GetGuardingCharacterID() != > otheritem->GetGuardingCharacterID()) > ...
15 years, 5 months ago (2008-11-11 18:33:55 UTC) #4
Lanarel
I wonder if this is a similar problem to http://www.hydlaa.com/flyspray_upgrade/index.php?do=details&task_id=2457 for which I just put ...
15 years, 5 months ago (2008-11-11 19:11:03 UTC) #5
Kayden
It's not really missing here—these are psItems, not gemItems. They very often won't have a ...
15 years, 5 months ago (2008-11-11 19:23:38 UTC) #6
kougaro
Ok, so here is the situation : when you pickup an item, the guardingCharacterID is ...
15 years, 5 months ago (2008-11-11 20:59:01 UTC) #7
Kayden
On 2008/11/11 20:59:01, kougaro wrote: > Ok, so here is the situation : when you ...
15 years, 5 months ago (2008-11-12 08:07:45 UTC) #8
Kayden
15 years, 5 months ago (2008-11-12 08:19:45 UTC) #9
Looking at it again, IMO, the notion of guardianship doesn't belong in psItem at
all—it's not an intrinsic property of the item.  One guards entities, not items.
 So it really ought to live in gemItem and possibly gemContainer...presumably
it's here for saving purposes.

That said, fixing up the gem*/ps* hierarchy is too big a project to be
undertaken here.  So...back to the problem at hand, I guess.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b