diff Events.cpp @ 787:3a77fbf7d0b8

GetSector
author Ritor1
date Mon, 25 Mar 2013 02:20:57 +0600
parents c319601893af
children f004c7ceb7bd
line wrap: on
line diff
--- a/Events.cpp	Sun Mar 24 09:19:36 2013 +0600
+++ b/Events.cpp	Mon Mar 25 02:20:57 2013 +0600
@@ -1065,8 +1065,9 @@
 				v11 = (unsigned __int8)*(&_evt->v5 + rand() % ((_evt->v5 != 0) + (_evt->v6 != 0) + (_evt->v7 != 0) + (_evt->v8 != 0) + (_evt->v9 != 0)
 					+ (_evt->v10 != 0)));
                 curr_seq_num = v11 - 1;
-                   ++curr_seq_num;
-                   v4 = v124;
+                ++curr_seq_num;
+                v4 = v124;
+                break;
 			case EVENT_ReceiveDamage:
 				v85 = EVT_DWORD(_evt->v7 );
 				v86 = _evt->v5;