Merge pull request #7488 from Robyt3/Editor-GridFactor-Fix

Fix map grid factor always being shown as 1
This commit is contained in:
Dennis Felsing 2023-11-17 22:32:19 +00:00 committed by GitHub
commit 0bf9e2dbb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -91,7 +91,7 @@ void CMapGrid::Toggle()
m_GridActive = !m_GridActive;
}
bool CMapGrid::Factor() const
int CMapGrid::Factor() const
{
return m_GridFactor;
}

View file

@ -19,7 +19,7 @@ public:
void Toggle();
bool Factor() const;
int Factor() const;
void ResetFactor();
void IncreaseFactor();
void DecreaseFactor();