[DiscordArchive] As I said I'm new to C++, I have a question. Would setting this:```
[DiscordArchive] As I said I'm new to C++, I have a question. Would setting this:```
Archived author: Nofyr • Posted: 2022-05-10T04:43:15.427000+00:00
Original source
As I said I'm new to C++, I have a question. Would setting this:```
if (GetRace() == RACE_NIGHTELF)
CastSpell(this, 20584, true);
CastSpell(this, 8326, true);
``` To ->```
if (GetRace() == RACE_NONE)
CastSpell(this, 20584, true);
CastSpell(this, 8326, true);
``` Work as intended?
Archived author: Nofyr • Posted: 2022-05-10T04:44:07.351000+00:00
Original source
The definitions of RACE show that RACE_NONE is a skip option so would it apply to all races in that case? Or would I define it with each race using OR ( || ) statements?
Archived author: Bench • Posted: 2022-05-10T04:44:28.168000+00:00
Original source
I think you might have to do it with or's
Archived author: Nofyr • Posted: 2022-05-10T04:45:04.392000+00:00
Original source
I have a better idea actually.
Archived author: Nofyr • Posted: 2022-05-10T04:45:10.416000+00:00
Original source
I'll try changing it to...
Archived author: Nofyr • Posted: 2022-05-10T04:45:23.713000+00:00
Original source
```
if (GetRace() != RACE_NONE)
CastSpell(this, 20584, true);
CastSpell(this, 8326, true);
```
Archived author: Nofyr • Posted: 2022-05-10T04:48:25.776000+00:00
Original source
If I make a new cmake solution, what can I disable to save time? Tools, and?
Archived author: Nofyr • Posted: 2022-05-10T04:48:46.174000+00:00
Original source
Or just go ahead and build the new solution with ALL_BUILD?
Archived author: Jinnai • Posted: 2022-05-10T04:52:41.831000+00:00
Original source
Don't clean up in vs
Archived author: Nofyr • Posted: 2022-05-10T04:53:00.343000+00:00
Original source
I assumed cleaning up would refactor or break the change, so I just did an ALL_BUILD