| 03-23-2007, 10:54 PM | #1 |
I just tried upgrading to CS 14.3 and I got a compile error about an unexpected (GetUnit_____(m)) or something after a struct, csprojectile I believe. So I decided to update from JassHelper 0.9.5.1 to the latest version and it changed its complaint to "Comparission between different struct types! -1, 5" refering to "if (k>0) then" in this code: JASS:
local string km
local csprojectile k
set km=I2S(CS_H2I(m))
set k=GetTableInt("MOVEMENT_TABLES",km)
if (k>0) then
set k.done=true
endif
set k=csprojectile.create()
set k.m=m
I tried backing up to CS 14.2 but the problem persists. |
| 03-24-2007, 12:01 AM | #2 |
Replace (k>0) with (k!=0) could swear I said this 3 times already. I should probably update the caster system, I was too busy making components for its replacement. The new timer system is ready btw... |
| 03-24-2007, 02:11 AM | #3 |
Thanks. |
