LumpReadArray: Difference between revisions

Fix example
m (Missed a comma)
Tag: Source edit
(Fix example)
Tag: Source edit
 
Line 22: Line 22:
int handle = LumpOpen("MYLUMP");
int handle = LumpOpen("MYLUMP");


     // The next lump was not found.
     // The lump was not found.
     if (startIndex == -1) {
     if (handle == -1) {
         break;
         terminate;
     }
     }