Fixed players not respawning as zombies when they are supposed to. Updated patch list and changelog.
This commit is contained in:
parent
ef25b2f726
commit
f878dd5735
@ -172,3 +172,8 @@ released. If the file is empty there are no config changes in that patch.
|
|||||||
ZR_GetKilledByWorld
|
ZR_GetKilledByWorld
|
||||||
See addons/sourcemod/scripting/include/zr in the package for details.
|
See addons/sourcemod/scripting/include/zr in the package for details.
|
||||||
Also see addons/sourcemod/scripting/testsuite/zr for API usage examples.
|
Also see addons/sourcemod/scripting/testsuite/zr for API usage examples.
|
||||||
|
|
||||||
|
2010.11.17 - r648
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
* Fixed players not respawning as zombies when they are supposed to.
|
||||||
|
@ -13,3 +13,4 @@
|
|||||||
643
|
643
|
||||||
644
|
644
|
||||||
647
|
647
|
||||||
|
648
|
||||||
|
@ -243,14 +243,14 @@ public Action:RespawnTimer(Handle:timer, any:client)
|
|||||||
*/
|
*/
|
||||||
RespawnCondition:RespawnToContition(bool:zombie, bool:zombieIfSuicide)
|
RespawnCondition:RespawnToContition(bool:zombie, bool:zombieIfSuicide)
|
||||||
{
|
{
|
||||||
if (zombieIfSuicide)
|
if (zombie)
|
||||||
{
|
|
||||||
return Respawn_ZombieIfSuicide;
|
|
||||||
}
|
|
||||||
else if (zombie)
|
|
||||||
{
|
{
|
||||||
return Respawn_Zombie;
|
return Respawn_Zombie;
|
||||||
}
|
}
|
||||||
|
else if (zombieIfSuicide)
|
||||||
|
{
|
||||||
|
return Respawn_ZombieIfSuicide;
|
||||||
|
}
|
||||||
|
|
||||||
return Respawn_Human;
|
return Respawn_Human;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user