mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-25 16:46:17 +00:00
Don't fake invalid action if there is nothing to fake (no item equiped)
--HG-- branch : compatibility-develop
This commit is contained in:
parent
79636f393d
commit
ea7119bead
1 changed files with 2 additions and 1 deletions
|
@ -476,6 +476,7 @@ bool CItemGroupManager::equipGroup(std::string name, bool pullBefore)
|
|||
}
|
||||
// For some reason, there is no (visual) invalidation (server still blocks any action), force one
|
||||
// Unfortunately, there is no clean way to do this, so we'll simulate one
|
||||
if(maxEquipTime > 0)
|
||||
fakeInvalidActions((NLMISC::TGameCycle)maxEquipTime);
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue