1
0
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:
Ivan Savenko
2013-01-16 14:28:49 +00:00
parent d7c9377843
commit 5deb499e7e
10 changed files with 46 additions and 24 deletions

View File

@ -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)