kevinortegren / zombieshroom

Large game project
11 stars 2 forks source link

Entity group issue #77

Closed XenofoR closed 10 years ago

XenofoR commented 10 years ago

If no entity group is found to be matching the function GetEntitiesInGroup() Will instead return the next available group

huxs commented 10 years ago

Expected behaviour of std::map::equal_range. To validate if a group is found use:

GroupRange range = GetEntitiesInGroup("gandalf "); if(range.first == range.second) print("Group gandalf dosent exist!");