summaryrefslogtreecommitdiffstats
path: root/sigmod/Game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigmod/Game.cpp')
-rw-r--r--sigmod/Game.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sigmod/Game.cpp b/sigmod/Game.cpp
index 72aa7e13..5e3299df 100644
--- a/sigmod/Game.cpp
+++ b/sigmod/Game.cpp
@@ -519,14 +519,14 @@ GETTER(Game, QString, description)
GETTER(Game, bool, singlePlayer)
GETTER(Game, Script, startScript)
-const Matrix<Fraction>* Game::typechart() const
+const Matrix<Fraction>& Game::typechart() const
{
- return &m_typechart;
+ return m_typechart;
}
-Matrix<Fraction>* Game::typechart()
+Matrix<Fraction>& Game::typechart()
{
- return &m_typechart;
+ return m_typechart;
}
Fraction Game::typechart(const int attack, const int defense) const