Guest User

Untitled

a guest
Jun 24th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. //There is no item of which to find
  2.     if(a_meshType==-1)
  3.         return -1;
  4.     //There is a item to find
  5.     else
  6.     {
  7.         for (int i=0;i<mi_HUDtextToDraw;i++)
  8.             {
  9.                 if (a_meshType==m_TextInfo[i].mi_hudType)
  10.                 {
  11.                     return i;
  12.  
  13.                 }
  14.             }
  15.     }
  16.    
  17.    
  18.    
  19.  
  20.     //  assert(false&&"Can't Find the HUD Number FindIndex()");
  21.     //No piece found that belongs to the user and therefore, blank spot
  22.     //return -1;
Add Comment
Please, Sign In to add comment