item stacks are now able to be bigger (int8 to int16)
this should work with COE and Higher
but am testing with dov
will be committed sometime tommorrow
Enhancement: now larger
Moderator: Team Members
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Enhancement: now larger
So as I just discovered linux doesn't seem to like min()
I had to change it to the following for linux to compile
I had to put std::min in () otherwise windows still tried to use the version that it defines and gives errors, both had to be the same type as well so I had to put the type in front of the hardcoded value.
This is just an FYI as I had no clue windows versions of min conflicted with the standard lib version of min or that linux wouldn't use std::min by default even though we have "using namespace std"
Code: Select all
min(item->details.count, 255)
Code: Select all
(std::min)(item->details.count, (int16)255)
This is just an FYI as I had no clue windows versions of min conflicted with the standard lib version of min or that linux wouldn't use std::min by default even though we have "using namespace std"
Who is online
Users browsing this forum: No registered users and 1 guest