From bc5c64f875641c71e72624785d0c909db16d8b77 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sun, 30 Dec 2007 04:32:21 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1529 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/command.cpp | 1 - source/src/console.cpp | 11 +++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/source/src/command.cpp b/source/src/command.cpp index b2981052..620a8dc6 100644 --- a/source/src/command.cpp +++ b/source/src/command.cpp @@ -237,7 +237,6 @@ char *executeret(const char *p) // all evaluation hap p += strcspn(p, ";\n\0"); cont = *p++!=0; // more statements if this isn't the end of the string char *c = w[0]; - if(*c=='/') c++; // strip irc-style command prefix if(!*c) continue; // empty statement DELETEA(retval); diff --git a/source/src/console.cpp b/source/src/console.cpp index a2922470..4eea48d4 100644 --- a/source/src/console.cpp +++ b/source/src/console.cpp @@ -225,12 +225,11 @@ int histpos = 0; void history(int n) { - static bool rec = false; - if(!rec && n>=0 && n