diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-09 00:56:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-09 00:56:14 +0300 |
commit | 1b33e9d77b4ba2e88badebbe09e743f2a4885284 (patch) | |
tree | c50ba6a5463f30ce4928eb7f9252d9dfd5390f02 | |
parent | 593e49e7155324969f880bab1e677ba8e86bcbaa (diff) | |
download | plugin-1b33e9d77b4ba2e88badebbe09e743f2a4885284.tar.gz plugin-1b33e9d77b4ba2e88badebbe09e743f2a4885284.tar.bz2 plugin-1b33e9d77b4ba2e88badebbe09e743f2a4885284.tar.xz plugin-1b33e9d77b4ba2e88badebbe09e743f2a4885284.zip |
Fix out of bound access in emob_load_weaponattacks.s20180713
-rw-r--r-- | src/emap/mob.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/mob.c b/src/emap/mob.c index b4f4f31..fbc75b6 100644 --- a/src/emap/mob.c +++ b/src/emap/mob.c @@ -192,6 +192,7 @@ static void emob_load_weaponattacks(const char *type, { for (int f = 0; f < MAX_WEAPON_TYPE; f ++) data->weaponAttacks[f] = val; + return; } else { |