diff options
Diffstat (limited to 'src/Mobs/MobPointer.h')
-rw-r--r-- | src/Mobs/MobPointer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mobs/MobPointer.h b/src/Mobs/MobPointer.h index 109b0511e..77f4cd6cd 100644 --- a/src/Mobs/MobPointer.h +++ b/src/Mobs/MobPointer.h @@ -7,6 +7,7 @@ it MUST NOT be preserved across ticks. */ class cPawn; +class cWorld; class cMobPointer { public: @@ -22,7 +23,7 @@ public: be used locally and then discarded. it MUST NOT be preserved across ticks. Returns null if raw pointer is null. Returns null if mob is destroyed or moved worlds. Must be called at least once per tick, even if the raw pointer is not going to be used that tick. */ - cPawn * GetPointer(); + cPawn * GetPointer(cWorld * a_CurrentWorld); private: |