Raised This Month: $32 Target: $400
 8% 

Bug Report Missing check in zp50_gameplay_fixes.sma


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JusTGo
Veteran Member
Join Date: Mar 2013
Old 09-04-2018 , 11:07   Missing check in zp50_gameplay_fixes.sma
Reply With Quote #1

If survivor class gets disabled the zp50_gameplay_fixes will not work and that's because of the missing check here :

PHP Code:
public module_filter(const module[])
{
    if (
equal(moduleLIBRARY_NEMESIS))
        return 
PLUGIN_HANDLED;
    
    return 
PLUGIN_CONTINUE;

To fix this a check for survivor library should be added :

PHP Code:
public module_filter(const module[])
{
    if (
equal(moduleLIBRARY_NEMESIS) || equal(moduleLIBRARY_SURVIVOR))
        return 
PLUGIN_HANDLED;
    
    return 
PLUGIN_CONTINUE;

__________________

Last edited by JusTGo; 09-04-2018 at 11:41.
JusTGo is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode