From 1ff7e005d6cfc35df2b92af3a56b443a6c9d8010 Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 15 Jun 2006 00:39:33 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@192 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/gamedef.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/eduke32/source/gamedef.c b/polymer/eduke32/source/gamedef.c index 0bb3cb4c7..a13f98ac1 100644 --- a/polymer/eduke32/source/gamedef.c +++ b/polymer/eduke32/source/gamedef.c @@ -4563,6 +4563,8 @@ repeatcase: { initprintf("%s:%ld: error: cheat redefinition attempts to redefine nonexistant cheat.\n",compilefile,line_number); error++; + while( *textptr != 0x0a && *textptr != 0x0d && *textptr != 0 ) textptr++; + break; } scriptptr--; i = 0;