[ create a new paste ] login | about

Link: http://codepad.org/GUbhC4mI    [ raw code | fork ]

C++, pasted on Nov 6:
1
2
3
4
5
6
7
8
9
10
					// If static counterpart already exists, remove it first.
					// This shouldn't happen, but happens rarely for some
					// unknown reason. Unsuccessful attempts have been made to
					// find said reason.
					if(new_id && block->m_static_objects.m_active.find(new_id)){
						infostream<<"ServerEnv: WARNING: Performing hack #83274"
								<<std::endl;
						block->m_static_objects.remove(new_id);
					}
					block->m_static_objects.insert(new_id, s_obj);


Create a new paste based on this one


Comments: