| 1581 | //========================================================================== |
| 1582 | |
| 1583 | void FTextureManager::SetTranslation(FTextureID fromtexnum, FTextureID totexnum) |
| 1584 | { |
| 1585 | if ((size_t)fromtexnum.texnum < Translation.Size()) |
| 1586 | { |
| 1587 | if ((size_t)totexnum.texnum >= Textures.Size()) |
| 1588 | { |
| 1589 | totexnum.texnum = fromtexnum.texnum; |
| 1590 | } |
| 1591 | Translation[fromtexnum.texnum] = totexnum.texnum; |
| 1592 | } |
| 1593 | } |
| 1594 | |
| 1595 | |
| 1596 | //----------------------------------------------------------------------------- |
no test coverage detected