| 09-17-2007, 02:22 PM | #1 |
I was just looking at the caster system code and I noticed this JASS:function CS_SafeX takes real x returns real if (x<cs_game_minx) then return cs_game_minx elseif (x>cs_game_maxx) then return cs_game_maxx endif return(x) endfunction function CS_SafeY takes real y returns real if (y<cs_game_miny) then return cs_game_minx//Typo right here elseif (y>cs_game_maxy) then return cs_game_maxy endif return(y) endfunction SafeX doesn't match SafeY |
| 09-17-2007, 04:31 PM | #2 |
cool, I guess it only affects maps with non-symmetrical dimensions |
