Throw doesn't work for archer class in c++

I’m using C++, and I found another bug.
Throw is also another command in c++ code, here’s some info: https://docs.microsoft.com/en-us/cpp/cpp/exception-specifications-throw-cpp?view=vs-2019
So it takes precedence of the throwing items cmd for archers
Here’s the code:

if(hero.isReady("throw")) {
    hero.throw(enemy);
}

Sorry for the terrible grammar (if it is), I’m lazy
~ Orb

Yeah I’ve reported this from a previous case:

1 Like

I guess you could modify it, like add a something before the throw so it doesn’t confuse with original C++ code.
~ Orb

1 Like