Little bug with scripts (FIXED)

Started by InCreator, Fri 16/09/2005 15:19:19

Previous topic - Next topic

InCreator

Right, I noticed that if you forget semicolon, like

cEgo.Say("Hello!")
cBman.Say("How do you do?");

other line (the one after it) gets simply lost.

Game compiles and all, but dialog line after "hello" won't be spoken in game.

Nothing special, but thought that I should note it (if it isn't known) and it would be better if AGS would report error instead of compiling problematic script.

I had hell of a bug searching when one globalint wasn't set because of similar case...

Pumaman

#1
well spotted, thanks, I'll get it fixed.

Edit by strazer:

AGS v2.71 Beta 6:
* Fixed compiler not giving an error if you forgot a semicolon after an object method call.

SMF spam blocked by CleanTalk