play drop sound when exiting edit mode
...and the player "drops" back into the map (fixes issue #55)
This commit is contained in:
@@ -35,7 +35,9 @@ void toggleedit(bool force)
|
||||
if(!force && !editmode && !allowedittoggle()) return; // not in most multiplayer modes
|
||||
if(!(editmode = !editmode))
|
||||
{
|
||||
float oldz = player1->o.z;
|
||||
entinmap(player1); // find spawn closest to current floating pos
|
||||
player1->timeinair = player1->o.z == oldz ? 0: 300;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user