better support for czero

This commit is contained in:
Felix Geyer 2004-03-28 14:26:39 +00:00
parent bfdd7db2a7
commit fd9cc48bad

View File

@ -88,6 +88,8 @@ stock show_activity( id, const name[], {Float,_}: ... ) {
stock is_running(const arg[]) { stock is_running(const arg[]) {
new mod_name[32] new mod_name[32]
get_modname(mod_name,31) get_modname(mod_name,31)
if (equal(arg,"cstrike"))
return (equal(mod_name,"cstrike")||equal(mod_name,"czero"))
return equal(mod_name,arg) return equal(mod_name,arg)
} }