From 7fae585a883b2c09be089f35e38812c092c0d988 Mon Sep 17 00:00:00 2001 From: flowtron Date: Sat, 28 Mar 2009 14:51:25 +0000 Subject: [PATCH] don't set health to 100 on edittoggle since it's only client-side anyway (bug found by grenadier) git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4302 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/editing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/editing.cpp b/source/src/editing.cpp index 935185a8..64d4f7eb 100644 --- a/source/src/editing.cpp +++ b/source/src/editing.cpp @@ -43,7 +43,7 @@ void toggleedit(bool force) } else { - player1->health = 100; + //player1->health = 100; // it's an illusion anyway, the server remembers the value - grenadier found this //put call to clear/restart gamemode player1->attacking = false; }