![]() |
[AI.obj] unknown code
i was working on ai.obj when i saw this code, and this isn't just the only one i found :?
Code:
shift_sp 1Code:
L7346 |
too weird :S
|
that's not weird...
it's a simple Code:
if (true) {and one of the results of some code realigns like the introduction of the TimerEx events and the .top_desire_target (just compare the decompiler output with the old source and u will see some more strange things :P ) |
well i still don't get it, what does that push_const 1 do? if(1) ????
Code:
if(OwnItemCount(c1, @nectar) < 20) |
yes,
if (1) = if (true) in the pre c1 AI there was a check that was removed... some lazy programmer simply changed the expression inside the macro to 1 |
thx
|
| All times are GMT. The time now is 22:31. |