mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Last breaking change into mod system (will explain on forum)
- paths in "filesystem" node are now relative to mod directory - "filesystem" entry in mod.json is now optional - made "register object" log messages visible only in log - minor fixes, including #1173
This commit is contained in:
@ -116,7 +116,7 @@ void CCursorHandler::shiftPos( int &x, int &y )
|
||||
y-=16;
|
||||
|
||||
// Properly align the melee attack cursors.
|
||||
if (type == ECursor::COMBAT == 1)
|
||||
if (type == ECursor::COMBAT)
|
||||
{
|
||||
switch (frame)
|
||||
{
|
||||
@ -155,7 +155,7 @@ void CCursorHandler::shiftPos( int &x, int &y )
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(ECursor::ADVENTURE == 0)
|
||||
else if(type == ECursor::ADVENTURE)
|
||||
{
|
||||
if (frame == 0); //to exclude
|
||||
else if(frame == 2)
|
||||
|
Reference in New Issue
Block a user