Răsfoiți Sursa

Fixed invisible creatures from SUMMON_GUARDIANS bonus

Ivan Savenko 2 ani în urmă
părinte
comite
ad25bfb4bb
1 a modificat fișierele cu 6 adăugiri și 0 ștergeri
  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);