From ef83cdced6bc0fd4ee94f03237ad0201ef012a6b Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 8 Dec 2011 21:14:46 +0000 Subject: Various things needed to compile the normal executable. Do note that it is possible to compile Starshatter.exe now. --- Stars45/Shot.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Stars45/Shot.h') diff --git a/Stars45/Shot.h b/Stars45/Shot.h index 52f5a6c..2bd5d06 100644 --- a/Stars45/Shot.h +++ b/Stars45/Shot.h @@ -96,6 +96,8 @@ public: virtual bool Update(SimObject* obj); virtual const char* GetObserverName() const; + int operator == (const Shot& s) const { return id == s.id; } + protected: const Ship* owner; -- cgit v1.1