From 8ddba641874609de6941b00938ff724df26374df Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sun, 5 Oct 2014 18:05:08 -0700 Subject: Stupid bug in mob summons --- src/map/mob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/mob.cpp') diff --git a/src/map/mob.cpp b/src/map/mob.cpp index a525ed4..a5d3eaf 100644 --- a/src/map/mob.cpp +++ b/src/map/mob.cpp @@ -2895,7 +2895,7 @@ int mob_summonslave(dumb_ptr md2, int *value_, int amount, int flag) map_local *m = md2->bl_m; Species values[5]; - for (count = 0; count < 5 && values[count] != Species(); ++count) + for (count = 0; count < 5 && value_[count]; ++count) values[count] = wrap(value_[count]); if (count < 1) return 0; -- cgit v1.2.3-60-g2f50