Sign in to follow this  
msalko

A Typo.

Recommended Posts

msalko    106

So the other day all of plants suddenly disapeared from my game, and after hours of debuging i've come to this one typo:

 

 

if (line.find("Evolotion = ", 0) != string::npos)
{
   cout << "^ Evo [" << line.substr(7) << "]" << endl;
   TMP_Plant.Name = line.substr(7);

}

 

"Evo lotion" - nobody saw that comming :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this