Explorar o código

Fixed invisible creatures from SUMMON_GUARDIANS bonus

Ivan Savenko %!s(int64=2) %!d(string=hai) anos
pai
achega
ad25bfb4bb
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      server/CGameHandler.cpp

+ 6 - 0
server/CGameHandler.cpp

@@ -6120,6 +6120,12 @@ void CGameHandler::runBattle()
 					sendAndApply(&pack);
 				}
 			}
+
+			// send empty event to client
+			// temporary(?) workaround to force animations to trigger
+			StacksInjured fakeEvent;
+			sendAndApply(&fakeEvent);
+
 		}
 
 		stackEnchantedTrigger(stack);