mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-01 00:45:26 +02:00
- build system update
- compile fix for quests (vector can't be used to store const data) - fixed several "unitialized" warnings
This commit is contained in:
@ -39,7 +39,7 @@ static const CStack *takeStack(std::vector<const CStack *> &st, int &curside, in
|
||||
{
|
||||
const CStack *ret = NULL;
|
||||
unsigned i, //fastest stack
|
||||
j; //fastest stack of the other side
|
||||
j=0; //fastest stack of the other side
|
||||
for(i = 0; i < st.size(); i++)
|
||||
if(st[i])
|
||||
break;
|
||||
|
Reference in New Issue
Block a user