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
This commit is contained in:
flowtron
2009-03-28 14:51:25 +00:00
parent daf2c00fe7
commit 7fae585a88
+1 -1
View File
@@ -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;
}