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:
@@ -246,7 +246,7 @@ void CCallback::setSelection(const CArmedInstance * obj)
|
||||
cl->calculatePaths(static_cast<const CGHeroInstance *>(obj));
|
||||
|
||||
//nasty workaround. TODO: nice workaround
|
||||
//cl->gs->getPlayer(*player)->currentSelection = obj->id;
|
||||
cl->gs->getPlayer(*player)->currentSelection = obj->id;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user