Changeset 15666
- Timestamp:
- 05/11/12 01:25:08 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/skin.h
r15663 r15666 1570 1570 { 1571 1571 tmp = (float)py / tmp; 1572 blitscale(posx, nposy, width, py, scalewidth, (int) tmp, 0);1572 blitscale(posx, nposy, width, py, scalewidth, (int)(tmp + 0.5), 0); 1573 1573 nposy += tmp; 1574 1574 } … … 1584 1584 { 1585 1585 tmp = (float)py / tmp; 1586 blitscale(posx, nposy, width, py, scalewidth, (int) tmp, 0);1586 blitscale(posx, nposy, width, py, scalewidth, (int)(tmp + 0.5), 0); 1587 1587 } 1588 1588 }
Note: See TracChangeset
for help on using the changeset viewer.