fix item duplication bug I caused
This commit is contained in:
@@ -219,6 +219,9 @@ void give_thing(short pc_num, short item_num) {
|
|||||||
// were viable.
|
// were viable.
|
||||||
showFatalError("Unexpectedly failed to give item!");
|
showFatalError("Unexpectedly failed to give item!");
|
||||||
}
|
}
|
||||||
|
if(take_given_item){
|
||||||
|
univ.party[pc_num].take_item(item_num);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user