1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

#1211 won't crash.

This commit is contained in:
Michał W. Urbańczyk
2013-02-21 02:25:44 +00:00
parent 92995964f3
commit 01e563b579

View File

@@ -246,7 +246,7 @@ void CCallback::setSelection(const CArmedInstance * obj)
cl->calculatePaths(static_cast<const CGHeroInstance *>(obj)); cl->calculatePaths(static_cast<const CGHeroInstance *>(obj));
//nasty workaround. TODO: nice workaround //nasty workaround. TODO: nice workaround
//cl->gs->getPlayer(*player)->currentSelection = obj->id; cl->gs->getPlayer(*player)->currentSelection = obj->id;
} }
} }