Fixed signed/unsgined mismatch.
This commit is contained in:
parent
386a251cab
commit
e4b975c289
1 changed files with 1 additions and 1 deletions
|
|
@ -909,7 +909,7 @@ int BotControl::cmdNodeIterateCamp () {
|
||||||
m_campPoints.clear ();
|
m_campPoints.clear ();
|
||||||
}
|
}
|
||||||
else if (op == "next") {
|
else if (op == "next") {
|
||||||
if (m_campPointsIndex < m_campPoints.length ()) {
|
if (m_campPointsIndex < static_cast <int> (m_campPoints.length ())) {
|
||||||
Vector origin = graph[m_campPoints[m_campPointsIndex]].origin;
|
Vector origin = graph[m_campPoints[m_campPointsIndex]].origin;
|
||||||
|
|
||||||
if (graph[m_campPoints[m_campPointsIndex]].flags & NodeFlag::Crouch) {
|
if (graph[m_campPoints[m_campPointsIndex]].flags & NodeFlag::Crouch) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue