Fixed incorrect unsigned (since -1 is used to indicate 'not set').

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9170 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-07-06 00:53:59 +00:00
parent 1c2795f0c8
commit 1138c14595

View File

@ -158,7 +158,7 @@ public:
};
// ------------------------------------------------------------------------
/** Returns a predecessor for this node. */
unsigned int getPredecessor() const {return m_predecessor; }
int getPredecessor() const {return m_predecessor; }
// ------------------------------------------------------------------------
}; // GraphNode