mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-06 13:12:17 +00:00
Minor Corpse::LootItem refactoring
This commit is contained in:
1 parent
427fb08561
commit
8f5ba05e75
2 files changed
+12
-13
No files matched your search
+2
-1
@@ -20,8 +20,8 @@
|
||||
#define CORPSE_H
|
||||
|
||||
#include "mob.h"
|
||||
#include "client.h"
|
||||
|
||||
class Client;
|
||||
class EQApplicationPacket;
|
||||
class Group;
|
||||
class NPC;
|
||||
@@ -118,6 +118,7 @@ class Corpse : public Mob {
|
||||
inline bool IsLocked() { return is_locked; }
|
||||
inline void ResetLooter() { being_looted_by = 0xFFFFFFFF; }
|
||||
inline bool IsBeingLooted() { return (being_looted_by != 0xFFFFFFFF); }
|
||||
inline bool IsBeingLootedBy(Client *c) { return being_looted_by == c->GetID(); }
|
||||
|
||||
/* Mob */
|
||||
void FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho);
|
||||
|
||||
Reference in new issue
Block a user