Skip to content

Commit

Permalink
Test BUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
archimede67 committed Mar 27, 2024
1 parent 1147d28 commit 8ac0509
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/game/editor/editor.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
#include <string>
#include <vector>

#include <unordered_map>

typedef std::function<void(int *pIndex)> FIndexModifyFunction;
template<typename T>
using FDropdownRenderCallback = std::function<void(const T &, char (&aOutput)[128], std::vector<STextColorSplit> &)>;
Expand Down Expand Up @@ -74,10 +76,12 @@ class CEditorMap

public:
CEditor *m_pEditor;
std::unordered_map<int, int> m_Test;

CEditorMap()
{
Clean();
m_Test[0] = 2;
}

~CEditorMap()
Expand Down
2 changes: 1 addition & 1 deletion src/game/editor/mapitems/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ void CEditorMap::OnModify()
{
m_Modified = true;
m_ModifiedAuto = true;
m_LastModifiedTime = m_pEditor->Client()->GlobalTime();
m_LastModifiedTime = m_pEditor->Client()->GlobalTime() + m_Test[0];
}

void CEditorMap::DeleteEnvelope(int Index)
Expand Down

0 comments on commit 8ac0509

Please sign in to comment.