Browse Source

* minor fix for commit r1178

mateuszb 16 years ago
parent
commit
1fd156e79d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      server/CGameHandler.cpp

+ 2 - 0
server/CGameHandler.cpp

@@ -2480,6 +2480,7 @@ bool CGameHandler::makeBattleAction( BattleAction &ba )
 		}
 	case 9: //catapult
 		{
+			sendAndApply(&StartAction(ba));
 			const CGHeroInstance * attackingHero = (ba.side) ? gs->getHero(gs->curB->hero2) : gs->getHero(gs->curB->hero1);
 			CHeroHandler::SBallisticsLevelInfo sbi = VLC->heroh->ballistics[attackingHero->getSecSkillLevel(20)]; //artillery
 			
@@ -2539,6 +2540,7 @@ bool CGameHandler::makeBattleAction( BattleAction &ba )
 
 				sendAndApply(&ca);
 			}
+			sendAndApply(&EndAction());
 			break;
 		}
 	}