Changeset 789
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dict.cpp
r758 r789 135 135 } 136 136 137 void Dict::RemoveSlot(Entity *entity) 138 { 139 for (int id = 0; id < data->maxid; id++) 140 if (data->entities[id] == entity) 141 { 142 RemoveSlot(id); 143 return; 144 } 145 146 #if !LOL_RELEASE 147 Log::Error("removing unregistered entity %p\n", entity); 148 #endif 149 } 137 150 138 151 void Dict::SetEntity(int id, Entity *entity) -
trunk/src/dict.h
r748 r789 32 32 int MakeSlot(char const *name); 33 33 void RemoveSlot(int id); 34 void RemoveSlot(Entity *entity); 34 35 35 36 void SetEntity(int id, Entity *entity);
Note: See TracChangeset
for help on using the changeset viewer.