Merge pull request #909 from jfhumann/fixes
Bug fixes and optimizations. We need to visit the API functions and check that they return only those values expected. `cWorld::CreateProjectile()` seems affected, too, by the same issue of ToLua returning extra values. In the cleanest form, these functions will need moving to ManualBindings.cpp
This commit is contained in:
@@ -198,9 +198,6 @@ bool cItem::IsEnchantable(short item)
|
||||
return true;
|
||||
if ((item >= 298) && (item <= 317))
|
||||
return true;
|
||||
if ((item >= 290) && (item <= 294))
|
||||
return true;
|
||||
|
||||
if ((item == 346) || (item == 359) || (item == 261))
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user