summaryrefslogtreecommitdiff
path: root/src/p_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/p_map.c')
-rw-r--r--src/p_map.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/p_map.c b/src/p_map.c
index 42f2a60f..89f8f3f8 100644
--- a/src/p_map.c
+++ b/src/p_map.c
@@ -36,6 +36,7 @@
#include "doomdef.h"
#include "m_argv.h"
+#include "m_misc.h"
#include "p_local.h"
#include "s_sound.h"
@@ -1412,7 +1413,7 @@ static void SpechitOverrun(line_t *ld)
if (p > 0)
{
- baseaddr = atoi(myargv[p+1]);
+ M_StrToInt(myargv[p+1], (int *) &baseaddr);
}
else
{