From 6b733cae841ba78751fcf0f0750be682d01419de Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 10 Aug 2009 22:12:21 -0400 Subject: Use a reference for the typechart getters --- sigmod/Game.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sigmod/Game.h') diff --git a/sigmod/Game.h b/sigmod/Game.h index f9a55a72..a2bb81a4 100644 --- a/sigmod/Game.h +++ b/sigmod/Game.h @@ -154,8 +154,8 @@ class SIGMOD_EXPORT Game : public Object QString description() const; bool singlePlayer() const; Sigcore::Script startScript() const; - const Sigcore::Matrix* typechart() const; - Sigcore::Matrix* typechart(); + const Sigcore::Matrix& typechart() const; + Sigcore::Matrix& typechart(); Sigcore::Fraction typechart(const int attack, const int defense) const; QPoint mapPosition(const int map) const; QMap mapPosition() const; -- cgit