Fix compile error in gcc.

This commit is contained in:
megamage
2011-10-11 08:56:44 -04:00
parent edc46d5606
commit 11bb9bfdb3

View File

@@ -82,11 +82,11 @@ class ObjectWorldLoader
uint32 i_corpses;
};
template<class T> static void ObjectGridLoader::SetObjectCell(T* /*obj*/, CellPair const& /*cell_pair*/)
template<class T> void ObjectGridLoader::SetObjectCell(T* /*obj*/, CellPair const& /*cell_pair*/)
{
}
template<> static void ObjectGridLoader::SetObjectCell(Creature* obj, CellPair const& cell_pair)
template<> void ObjectGridLoader::SetObjectCell(Creature* obj, CellPair const& cell_pair)
{
Cell cell(cell_pair);