Wolf3d Haven Forum

Please log in or register. Smile

Join the forum, it's quick and easy

Wolf3d Haven Forum

Please log in or register. Smile

Wolf3d Haven Forum

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Wolf3d Haven Forum

A friendly Wolfenstein 3D community, about Wolfenstein 3D, the game that gave birth to first person shooters...


    Experimental chemical problem

    Officer-Michael John
    Officer-Michael John
    Seasoned Wolfer
    Seasoned Wolfer


    Male
    Number of posts : 332
    Age : 26
    Hobbie : Video and Wolf 3D mode making
    Registration date : 2014-08-04

    Experimental chemical problem Empty Experimental chemical problem

    Post by Officer-Michael John Thu Nov 05, 2015 8:07 am

    I probaly adding an Experimental chemical. Like it The Lost Relic. But buggy. What probem? Why not good?

    WL_AGENT.CPP:

    Code:
    case    bo_undrugs:
                if (gamestate.health > 100)
             return;
             
             SD_PlaySound (HEALTH1SND);
             HealSelf (-8);
                
             if (gamestate.health == 54)            
                return;
                
             SD_PlaySound (HEALTH1SND);
             HealSelf (2); 
                break;   

      Current date/time is Fri Mar 29, 2024 1:02 am