Ticket #3733: WoodruffGoblinDebug.patch
File WoodruffGoblinDebug.patch, 968 bytes (added by , 16 years ago) |
---|
-
goblin.cpp
1844 1844 animData->destX = destX; 1845 1845 animData->destY = destY; 1846 1846 1847 warning("Goblin::move(%d, %d, %d)", destX, destY, objIndex); 1848 1847 1849 if (animData->isBusy != 0) { 1848 1850 if ((destX == -1) && (destY == -1)) { 1849 1851 mouseX = _vm->_global->_inter_mouseX; … … 1854 1856 gobDestX = mouseX / _vm->_map->_tilesWidth; 1855 1857 gobDestY = mouseY / _vm->_map->_tilesHeight; 1856 1858 1859 warning("-> %d+%d, %d+%d, %dx%d, %d+%d, %d (%d, %d)", 1860 _vm->_global->_inter_mouseX, _vm->_global->_inter_mouseY, 1861 mouseX, mouseY, _vm->_map->_tilesWidth, _vm->_map->_tilesHeight, 1862 gobDestX, gobDestY, _vm->_map->getPass(gobDestX, gobDestY), 1863 _vm->_map->_passWidth, _vm->_map->_mapWidth); 1864 1857 1865 if (_vm->_map->getPass(gobDestX, gobDestY) == 0) 1858 1866 _vm->_map->findNearestWalkable(gobDestX, gobDestY, mouseX, mouseY); 1859 1867