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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user