mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge pull request #7488 from Robyt3/Editor-GridFactor-Fix
Fix map grid factor always being shown as 1
This commit is contained in:
commit
0bf9e2dbb3
|
@ -91,7 +91,7 @@ void CMapGrid::Toggle()
|
|||
m_GridActive = !m_GridActive;
|
||||
}
|
||||
|
||||
bool CMapGrid::Factor() const
|
||||
int CMapGrid::Factor() const
|
||||
{
|
||||
return m_GridFactor;
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ public:
|
|||
|
||||
void Toggle();
|
||||
|
||||
bool Factor() const;
|
||||
int Factor() const;
|
||||
void ResetFactor();
|
||||
void IncreaseFactor();
|
||||
void DecreaseFactor();
|
||||
|
|
Loading…
Reference in a new issue