remove garbage
This commit is contained in:
		
							parent
							
								
									8f27ff60ac
								
							
						
					
					
						commit
						b58a1aa7d4
					
				|  | @ -42,6 +42,7 @@ void Creature::draw(int x, int y) | |||
|     // TODO 1: FIX RENDER STEP 2
 | ||||
|     // TODO 2: FIX SHAKY EFFECT
 | ||||
|     // TODO 3: ADD ANIMATION
 | ||||
|     // TODO 4: ADD DIAGONAL WALKING
 | ||||
| 
 | ||||
|     const ThingAttributes& attributes = getAttributes(); | ||||
| 
 | ||||
|  |  | |||
|  | @ -17,14 +17,9 @@ bool DatManager::load(const std::string& file) | |||
|         int numShots = fw::getu16(fin); | ||||
| 
 | ||||
|         m_itemsAttributes.resize(numItems); | ||||
|         for(int id = 100; id < numItems; ++id) { | ||||
|         for(int id = 100; id < numItems; ++id) | ||||
|             parseThingAttributes(fin, m_itemsAttributes[id - 100]); | ||||
| 
 | ||||
|             if(id == 436 || id == 870 || id == 4522) { | ||||
|                 dump << id << (int)m_itemsAttributes[id-100].speed; | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|         m_creaturesAttributes.resize(numItems); | ||||
|         for(int id = 0; id < numCreatures; ++id) | ||||
|             parseThingAttributes(fin, m_creaturesAttributes[id]); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Henrique
						Henrique