]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/Hero.h
fix substantial mistake in linker
[l2e.git] / src / battle / Hero.h
index 0d2ce0ede1d9e9f7ebccc56cadfce6f790350d3f..df23aa10162e965babba702dfba38982fd195b6f 100644 (file)
@@ -28,6 +28,9 @@ public:
        ~Hero();
 
 public:
+       common::Hero &Master() { return *master; }
+       const common::Hero &Master() const { return *master; }
+
        const char *Name() const { return master->Name(); }
        Uint8 Level() const { return master->Level(); }
        const graphics::Sprite *Sprite() const { return master->BattleSprite(); }
@@ -106,4 +109,4 @@ private:
 
 }
 
-#endif /* BATTLE_HERO_H_ */
+#endif