i keep getting an error on the same line

Started by matt, Sat 27/12/2008 22:51:28

Previous topic - Next topic

matt

the error message was ---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x00472157 ; program pointer is +6, ACI version 2.72.920, gtags (7,200)

AGS cannot continue, this exception was fatal. Please note down the numbers above, remember what you were doing at the time and notify CJ on the Tech forum.

in Global script (line 231)


Most versions of Windows allow you to press Ctrl+C now to copy this entire message to the clipboard for easy reporting.
---------------------------
OK   
---------------------------
line 231 was:

DynamicSprite* ds = DynamicSprite.CreateFromExistingSprite(slot);

and the int, slot, is: int slot = (in8+in9)/2;
any help would be great ,thanks.

what?

Khris

The obvious question: is there a sprite in the calculated slot?

SMF spam blocked by CleanTalk