Skip to content

Commit 7716e6d

Browse files
committed
Properly show Cede button on unfinished objects
1 parent 89253f4 commit 7716e6d

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

doc/backlog/backlog.csv

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ issue,description,value,effort,type,blockedBy,done,critical,milestone
111111
112,Use exceptions to check SDL-function failures,1,5,Code quality,,,,
112112
113,"Use forward declarations where possible, to reduce unnecessary #includes",2,5,Code quality,,,,
113113
114,Use polymorphism instead of classTag,3,144,Code quality,,,,
114-
115,Fail more gracefully and informatively when can't connect to server,5,8,Usability,,,,1
115114
116,A shrine that grants a buff,8,34,Feature,64,,,
116115
117,Direct player trading,8,233,Feature,,,,
117116
118,Allow tool objects to show an in-use image/animation,8,13,Aesthetics,,,,
@@ -191,7 +190,7 @@ issue,description,value,effort,type,blockedBy,done,critical,milestone
191190
194,Ensure fellow citizens can be seen on the map,13,21,Bug,,,,
192191
195,Make NPC movement smooth,5,13,Aesthetics,,,,
193192
196,Container slots are sometimes invisible or broken,89,21,Bug,,TRUE,,1
194-
197,Allow ceding of unfinished objects,21,5,Feature,,,,1
193+
197,Allow ceding of unfinished objects,21,5,Feature,,TRUE,,1
195194
198,"Unowned-object colors sometimes green, sometimes grey",5,13,Bug,,TRUE,,
196195
199,Provide list of online players,13,13,Usability,,,,
197196
200,Make login screen behave on disconnect,8,21,Usability,,,,

src/client/ClientObject.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,8 +529,8 @@ void ClientObject::assembleWindow(Client &client){
529529
isMerchant = objType.merchantSlots() > 0,
530530
isVehicle = classTag() == 'v',
531531
canCede = (! client.character().cityName().empty()) &&
532-
_owner == client.username() &&
533-
!objType.isPlayerUnique();
532+
(_owner == client.username()) &&
533+
(!objType.isPlayerUnique());
534534
if (isMerchant ||
535535
userHasAccess() && (hasContainer ||
536536
isVehicle ||

0 commit comments

Comments
 (0)