mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 18:07:16 +00:00
Edit some uint32 to int32: GetAugmentIDAt, GetItemIDAt, GetItemStat
This commit is contained in:
1 parent
e2874b2cc6
commit
bce3b1b961
6 files changed
+12
-12
No files matched your search
+2
-2
@@ -659,7 +659,7 @@ void Client::DropInst(const ItemInst* inst)
|
||||
}
|
||||
|
||||
// Returns a slot's item ID (returns INVALID_ID if not found)
|
||||
uint32 Client::GetItemIDAt(int16 slot_id) {
|
||||
int32 Client::GetItemIDAt(int16 slot_id) {
|
||||
const ItemInst* inst = m_inv[slot_id];
|
||||
if (inst)
|
||||
return inst->GetItem()->ID;
|
||||
@@ -670,7 +670,7 @@ uint32 Client::GetItemIDAt(int16 slot_id) {
|
||||
|
||||
// Returns an augment's ID that's in an item (returns INVALID_ID if not found)
|
||||
// Pass in the slot ID of the item and which augslot you want to check (0-4)
|
||||
uint32 Client::GetAugmentIDAt(int16 slot_id, uint8 augslot) {
|
||||
int32 Client::GetAugmentIDAt(int16 slot_id, uint8 augslot) {
|
||||
const ItemInst* inst = m_inv[slot_id];
|
||||
if (inst)
|
||||
if (inst->GetAugmentItemID(augslot))
|
||||
|
||||
Reference in new issue
Block a user