summaryrefslogtreecommitdiffstats
path: root/pokemod/Debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/Debug.cpp')
-rw-r--r--pokemod/Debug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemod/Debug.cpp b/pokemod/Debug.cpp
index cb2e4bff..87a9b7e0 100644
--- a/pokemod/Debug.cpp
+++ b/pokemod/Debug.cpp
@@ -29,14 +29,14 @@
extern debugWindow PokeModDebugWindow;
#endif
-int PokModDebugLevel;
+int PokeModDebugLevel;
void PokeGen::PokeMod::Log(const char *msg, int level)
{
// Actual strings of the debugging levels
const char *PokeModDebugStr[8] = {"Emergency", "Alert", "Critical Error", "Error", "Warning", "Notice", "Info", "Debug"};
// Only log if wanted
- if (level <= PokModDebugLevel)
+ if (level <= PokeModDebugLevel)
{
// Get the current time
char path[21];